@kizmann/nano-ui 0.7.7 → 0.7.10
Sign up to get free protection for your applications and to get access to all the features.
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');
|