@kizmann/nano-ui 0.7.8 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.7.8",
3
+ "version": "0.7.9",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -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');