remove redundant full redraw
this was needed when lines had width in style attribute
This commit is contained in:
parent
675386fc4c
commit
0ca8f694c6
1 changed files with 0 additions and 4 deletions
|
|
@ -810,10 +810,6 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
var layerConfig = this.layerConfig;
|
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 (firstRow > layerConfig.lastRow + 1) { return; }
|
||||||
if (lastRow < layerConfig.firstRow) { return; }
|
if (lastRow < layerConfig.firstRow) { return; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue