Commit 8813cb27 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

minor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54797 954022d7-b5bf-4e40-9824-e11837661b57
parent 6fddc3fa
......@@ -1095,11 +1095,7 @@
ws.resize(true);
else if (ws.updateZoom)
ws.changeZoom(true);
if (isResized)
ws.objectRender.resizeCanvas();
ws.objectRender.setScrollOffset();
ws.draw();
this._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false));
this._onWSSelectionChanged(ws.getSelectionInfo());
......
......@@ -505,6 +505,9 @@
this._cleanCellsTextMetricsCache();
this._prepareCellTextMetricsCache(this.visibleRange);
this.updateResize = false;
this.objectRender.resizeCanvas();
this.objectRender.setScrollOffset();
} else {
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