Commit 77ff2864 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov

minor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54797 954022d7-b5bf-4e40-9824-e11837661b57
parent 685c0879
...@@ -1095,11 +1095,7 @@ ...@@ -1095,11 +1095,7 @@
ws.resize(true); ws.resize(true);
else if (ws.updateZoom) else if (ws.updateZoom)
ws.changeZoom(true); ws.changeZoom(true);
if (isResized)
ws.objectRender.resizeCanvas();
ws.objectRender.setScrollOffset();
ws.draw(); ws.draw();
this._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false)); this._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false));
this._onWSSelectionChanged(ws.getSelectionInfo()); this._onWSSelectionChanged(ws.getSelectionInfo());
......
...@@ -505,6 +505,9 @@ ...@@ -505,6 +505,9 @@
this._cleanCellsTextMetricsCache(); this._cleanCellsTextMetricsCache();
this._prepareCellTextMetricsCache(this.visibleRange); this._prepareCellTextMetricsCache(this.visibleRange);
this.updateResize = false; this.updateResize = false;
this.objectRender.resizeCanvas();
this.objectRender.setScrollOffset();
} else { } else {
this.updateResize = true; this.updateResize = true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment