Correction for railBorderYWidth calculation
This commit is contained in:
parent
12086573fc
commit
3dde3ebb0c
@ -113,7 +113,7 @@
|
|||||||
var scrollbarYRight = int($scrollbarYRail.css('right'));
|
var scrollbarYRight = int($scrollbarYRail.css('right'));
|
||||||
var isScrollbarYUsingRight = scrollbarYRight === scrollbarYRight; // !isNaN
|
var isScrollbarYUsingRight = scrollbarYRight === scrollbarYRight; // !isNaN
|
||||||
var scrollbarYLeft = isScrollbarYUsingRight ? null : int($scrollbarYRail.css('left'));
|
var scrollbarYLeft = isScrollbarYUsingRight ? null : int($scrollbarYRail.css('left'));
|
||||||
var railBorderYWidth = int($scrollbarXRail.css('borderTopWidth')) + int($scrollbarXRail.css('borderBottomWidth'));
|
var railBorderYWidth = int($scrollbarYRail.css('borderTopWidth')) + int($scrollbarYRail.css('borderBottomWidth'));
|
||||||
|
|
||||||
function updateScrollTop(currentTop, deltaY) {
|
function updateScrollTop(currentTop, deltaY) {
|
||||||
var newTop = currentTop + deltaY;
|
var newTop = currentTop + deltaY;
|
||||||
|
Loading…
Reference in New Issue
Block a user