remove redundant full redraw

this was needed when lines had width in style attribute
This commit is contained in:
nightwing 2012-05-11 12:02:27 +04:00
commit 0ca8f694c6

View file

@ -810,10 +810,6 @@ var VirtualRenderer = function(container, theme) {
var layerConfig = this.layerConfig;
// if the update changes the width of the document do a full redraw
if (layerConfig.width != this.$getLongestLine())
return this.$textLayer.update(layerConfig);
if (firstRow > layerConfig.lastRow + 1) { return; }
if (lastRow < layerConfig.firstRow) { return; }