mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-03 03:14:07 +03:00
fix overflow calc
This commit is contained in:
+2
-2
@@ -79,8 +79,8 @@ const getOverflowAmount = (
|
||||
};
|
||||
|
||||
return {
|
||||
w: amount.w >= tollerance ? amount.w : 0,
|
||||
h: amount.h >= tollerance ? amount.h : 0,
|
||||
w: amount.w > tollerance ? amount.w : 0,
|
||||
h: amount.h > tollerance ? amount.h : 0,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user