@kizmann/nano-ui 0.7.9 → 0.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -310,7 +310,7 @@ export default {
|
|
310
310
|
// Dom.find(this.$el).addClass('has-native-hbar');
|
311
311
|
// }
|
312
312
|
|
313
|
-
let hasVtrack = outerHeight && outerHeight < innerHeight
|
313
|
+
let hasVtrack = outerHeight && outerHeight < innerHeight - 1;
|
314
314
|
|
315
315
|
if ( hasVtrack ) {
|
316
316
|
Dom.find(this.$el).addClass('has-vtrack');
|
@@ -388,7 +388,7 @@ export default {
|
|
388
388
|
// Dom.find(this.$el).addClass('has-native-vbar');
|
389
389
|
// }
|
390
390
|
|
391
|
-
let hasHtrack = outerWidth && outerWidth < innerWidth
|
391
|
+
let hasHtrack = outerWidth && outerWidth < innerWidth - 1;
|
392
392
|
|
393
393
|
if ( hasHtrack ) {
|
394
394
|
Dom.find(this.$el).addClass('has-htrack');
|