update scrollbar when inserting new line in the middle of the document

fixes regression from 9f1d8af937
This commit is contained in:
nightwing 2013-06-24 00:18:51 +04:00
commit b3e4d33e02

View file

@ -798,7 +798,7 @@ var VirtualRenderer = function(container, theme) {
this.$markerBack.update(this.layerConfig);
}
if (changes & this.CHANGE_SIZE) {
if (changes & this.CHANGE_SIZE || changes & this.CHANGE_LINES) {
this.$updateScrollBarV();
this.$updateScrollBarH();
}