Commit 23ccb2b0 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Перенес updateSizeDrawingObjects в callback'и изменения высот строк и ширин столбцов таблицы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67513 954022d7-b5bf-4e40-9824-e11837661b57
parent 2a228c7d
......@@ -879,11 +879,7 @@
} else if (target.target === c_oTargetType.RowResize) {
ws.changeRowHeight(target.row, y, target.mouseY);
}
// ToDo Нужна ли тут updateSizeDrawingObjects
if(ws.objectRender)
{
ws.objectRender.updateSizeDrawingObjects(target);
}
ws.cellCommentator.updateCommentPosition();
this._onDocumentPlaceChanged();
}
......
......@@ -676,6 +676,10 @@
t._cleanCache(new asc_Range(0, 0, t.cols.length - 1, t.rows.length - 1));
t.changeWorksheet("update", {reinitRanges: true});
t._updateVisibleColsCount();
if(t.objectRender)
{
t.objectRender.updateSizeDrawingObjects({target: c_oTargetType.ColumnResize, col: col});
}
};
this._isLockedAll(onChangeWidthCallback);
};
......@@ -716,6 +720,10 @@
t._cleanCache(new asc_Range(0, row, t.cols.length - 1, row));
t.changeWorksheet("update", {reinitRanges: true});
t._updateVisibleRowsCount();
if(t.objectRender)
{
t.objectRender.updateSizeDrawingObjects({target: c_oTargetType.RowResize, row: row});
}
};
this._isLockedAll (onChangeHeightCallback);
......
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