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