reset scrollbar position when changing session

This commit is contained in:
nightwing 2015-12-24 02:38:42 +04:00
parent f5fe64d1f2
commit f0aca9fe2a

View File

@ -245,6 +245,7 @@ var VirtualRenderer = function(container, theme) {
this.$loop.schedule(this.CHANGE_FULL);
// this.session.$setFontMetrics(this.$fontMetrics);
this.scrollBarV.scrollLeft = this.scrollBarV.scrollTop = null;
this.onChangeNewLineMode = this.onChangeNewLineMode.bind(this);
this.onChangeNewLineMode()