Skip to content

Commit

Permalink
Merge pull request ajaxorg#4359 from NeoDobby/master
Browse files Browse the repository at this point in the history
reset cached horizontal scroll position
  • Loading branch information
nightwing committed Aug 13, 2020
2 parents afa8f35 + c28424d commit e97afe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ace/virtual_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ var VirtualRenderer = function(container, theme) {
this.resizing = 0;
// reset cached values on scrollbars, needs to be removed when switching to non-native scrollbars
// see https://github.com/ajaxorg/ace/issues/2195
this.scrollBarV.scrollLeft = this.scrollBarV.scrollTop = null;
this.scrollBarH.scrollLeft = this.scrollBarV.scrollTop = null;
};

this.$updateCachedSize = function(force, gutterWidth, width, height) {
Expand Down

0 comments on commit e97afe3

Please sign in to comment.