Commit 046c3bee authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix #20234

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49594 954022d7-b5bf-4e40-9824-e11837661b57
parent 8c85d682
...@@ -3025,7 +3025,7 @@ function DrawingObjects() { ...@@ -3025,7 +3025,7 @@ function DrawingObjects() {
boundsChecker.CorrectBounds(); boundsChecker.CorrectBounds();
// Коррекция для селекта при блокировке // Коррекция для селекта при блокировке
var delta = (drawingObject.graphicObject.lockType == c_oAscLockTypes.kLockTypeNone) ? 0 : 6; var delta = 6;
boundsChecker.Bounds.min_x -= delta; boundsChecker.Bounds.min_x -= delta;
boundsChecker.Bounds.min_y -= delta; boundsChecker.Bounds.min_y -= delta;
boundsChecker.Bounds.max_x += delta; boundsChecker.Bounds.max_x += delta;
...@@ -4079,6 +4079,7 @@ function DrawingObjects() { ...@@ -4079,6 +4079,7 @@ function DrawingObjects() {
for (var i = 0; i < aObjects.length; i++) { for (var i = 0; i < aObjects.length; i++) {
aObjects[i].graphicObject.lockType = c_oAscLockTypes.kLockTypeNone; aObjects[i].graphicObject.lockType = c_oAscLockTypes.kLockTypeNone;
//shapeCtx.DrawLockObjectRect(aObjects[i].graphicObject.lockType, aObjects[i].graphicObject.x, aObjects[i].graphicObject.y, aObjects[i].graphicObject.extX, aObjects[i].graphicObject.extY );
} }
_this.showDrawingObjects(true); _this.showDrawingObjects(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