Commit 0b4a056c authored by Alexander.Trofimov's avatar Alexander.Trofimov

При правом клике не всегда нужно очищать выделение

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51407 954022d7-b5bf-4e40-9824-e11837661b57
parent 39cfdf30
......@@ -5943,8 +5943,6 @@
var graphicCursorInfo = this.objectRender.checkCursorDrawingObject(x, y);
if ( graphicCursorInfo && graphicCursorInfo.isGraphicObject )
return;
else
this.objectRender.unselectDrawingObjects();
var ar = this.activeRange;
this.model.workbook.handlers.trigger("asc_onHideComment");
......@@ -5996,6 +5994,7 @@
if (!isInSelection) {
// Не попали в выделение (меняем первую точку)
this.objectRender.unselectDrawingObjects();
this.cleanSelection();
this._moveActiveCellToXY(x, y);
if ( !graphicCursorInfo )
......@@ -6005,8 +6004,6 @@
this._trigger("selectionChanged", this.getSelectionInfo());
return false;
}
if ( !graphicCursorInfo )
this._drawSelection();
return 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