perfect RTL support

This commit is contained in:
ahspw
2015-05-08 14:06:55 +03:00
committed by Hyunje Alex Jun
parent db855ceca1
commit 3dbf20a5d0
6 changed files with 19 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ function bindClickRailHandler(element, i) {
positionRatio = 1;
}
element.scrollLeft = (i.contentWidth - i.containerWidth) * positionRatio;
element.scrollLeft = ((i.contentWidth - i.containerWidth) * positionRatio) - i.negativeScrollAdjustment;
updateGeometry(element);
e.stopPropagation();