Commit bdefcbcf authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

updateSizeDrawingObjects нужно вызывать вне зависимости от смены в модели.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57679 954022d7-b5bf-4e40-9824-e11837661b57
parent ae270451
...@@ -4485,10 +4485,8 @@ ...@@ -4485,10 +4485,8 @@
rowInfo.heightReal = rowInfo.height = Math.min(this.maxRowHeight, rowInfo.heightReal = rowInfo.height = Math.min(this.maxRowHeight,
Math.max(rowInfo.height, newHeight)); Math.max(rowInfo.height, newHeight));
if (rowHeight !== rowInfo.height) { if (rowHeight !== rowInfo.height) {
if (!rowInfo.isDefaultHeight) { if (!rowInfo.isDefaultHeight)
this.model.setRowHeight(rowInfo.height + this.height_1px, row, row); this.model.setRowHeight(rowInfo.height + this.height_1px, row, row);
this.objectRender.updateSizeDrawingObjects({target: c_oTargetType.RowResize, row: row});
}
if (angle) { if (angle) {
this._fetchCellCache(col, row).text.textBound = this._fetchCellCache(col, row).text.textBound =
...@@ -4496,6 +4494,8 @@ ...@@ -4496,6 +4494,8 @@
ha, va, maxW); ha, va, maxW);
} }
if (this.objectRender)
this.objectRender.updateSizeDrawingObjects({target: c_oTargetType.RowResize, row: row});
this.isChanged = true; this.isChanged = 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