lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 1eee3ee9 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

+ for 50513

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50516 954022d7-b5bf-4e40-9824-e11837661b57
parent dee78f95
...@@ -3338,11 +3338,12 @@ function DrawingObjects() { ...@@ -3338,11 +3338,12 @@ function DrawingObjects() {
var boundsChecker = _this.getBoundsChecker(aObjects[i]); var boundsChecker = _this.getBoundsChecker(aObjects[i]);
var coords = _this.getBoundsCheckerCoords(boundsChecker); var coords = _this.getBoundsCheckerCoords(boundsChecker);
if ( coords ) {
if ( coords.to.col >= metrics.maxCol ) if ( coords.to.col >= metrics.maxCol )
metrics.maxCol = coords.to.col + 1; // учитываем colOff metrics.maxCol = coords.to.col + 1; // учитываем colOff
if ( coords.to.row >= metrics.maxRow ) if ( coords.to.row >= metrics.maxRow )
metrics.maxRow = coords.to.row + 1; // учитываем rowOff metrics.maxRow = coords.to.row + 1; // учитываем rowOff
}
} }
return metrics; return metrics;
} }
......
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