Skip to content

Commit cd88f1c

Browse files
committed
Fix getScrollLeft to actually get scroll left
1 parent 5b6e24d commit cd88f1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ace/virtual_renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ var VirtualRenderer = function(container, theme) {
666666
};
667667

668668
this.getScrollLeft = function() {
669-
return this.session.getScrollTop();
669+
return this.session.getScrollLeft();
670670
};
671671

672672
this.getScrollTopRow = function() {

0 commit comments

Comments
 (0)