Commit 06d171fd authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 26536 - Остается рамка выделения графического объекта, если во время его...

Bug 26536 - Остается рамка выделения графического объекта, если во время его копирования сделать undo

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59418 954022d7-b5bf-4e40-9824-e11837661b57
parent 00150e75
...@@ -4270,6 +4270,8 @@ DrawingObjectsController.prototype = ...@@ -4270,6 +4270,8 @@ DrawingObjectsController.prototype =
return; return;
this.checkChartTextSelection(); this.checkChartTextSelection();
this.resetSelection(); this.resetSelection();
this.clearPreTrackObjects();
this.clearTrackObjects();
this.changeCurrentState(new NullState(this, this.drawingObjects)); this.changeCurrentState(new NullState(this, this.drawingObjects));
this.updateSelectionState(); this.updateSelectionState();
var asc = window["Asc"] ? window["Asc"] : (window["Asc"] = {}); var asc = window["Asc"] ? window["Asc"] : (window["Asc"] = {});
...@@ -4753,6 +4755,8 @@ DrawingObjectsController.prototype = ...@@ -4753,6 +4755,8 @@ DrawingObjectsController.prototype =
{ {
var _state_index = isRealNumber(stateIndex) ? stateIndex : state.length-1; var _state_index = isRealNumber(stateIndex) ? stateIndex : state.length-1;
var selection_state = state[_state_index]; var selection_state = state[_state_index];
this.clearPreTrackObjects();
this.clearTrackObjects();
this.resetSelection(); this.resetSelection();
if(selection_state.textObject) if(selection_state.textObject)
{ {
......
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