Commit 8c2c86da authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix #20465

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49903 954022d7-b5bf-4e40-9824-e11837661b57
parent 2f465bfb
......@@ -2917,8 +2917,10 @@ function DrawingObjects() {
for ( var i = 0; i < _this.controller.selectedObjects.length; i++ ) {
if ( _this.controller.selectedObjects[i].isChart() ) {
_this.selectDrawingObjectRange(_this.controller.selectedObjects[i].Id);
_this.controller.selectedObjects[i].draw(shapeOverlayCtx);
_this.selectDrawingObjectRange(_this.controller.selectedObjects[i].Id);
shapeOverlayCtx.ClearMode = true;
_this.controller.selectedObjects[i].draw(shapeOverlayCtx);
shapeOverlayCtx.ClearMode = false;
}
}
......
......@@ -5967,7 +5967,9 @@
// Выделяем объект
var graphicCursorInfo = this.objectRender.checkCursorDrawingObject(x, y);
if ( !graphicCursorInfo )
if ( graphicCursorInfo && graphicCursorInfo.isGraphicObject )
return;
else
this.objectRender.unselectDrawingObjects();
var ar = this.activeRange;
......
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