Commit 7e61fb3e authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

Fix Bug 20842 - Неполная очистка текстовой области и ее границ при Undo/Redo...

Fix Bug 20842 - Неполная очистка текстовой области и ее границ при Undo/Redo перемещения на другой лист

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51250 954022d7-b5bf-4e40-9824-e11837661b57
parent 0650c465
......@@ -3438,10 +3438,6 @@ function DrawingObjects() {
else
_this.raiseLayerDrawingObjects();
}
/*else {
worksheet.cleanSelection();
worksheet._drawSelection();
}*/
}
}
......
......@@ -479,7 +479,14 @@
},
_onSetSelectionState: function (state) {
var ws = this.getWorksheet();
var index = 0;
for ( var i = 0; i < this.wsViews.length; i++ ) {
if ( state.sheetId === this.wsViews[i].model.Id ) {
index = this.wsViews[i].model.index;
break;
}
}
var ws = this.getWorksheet(index);
ws.objectRender.controller.setSelectionState(state);
ws.objectRender.controller.updateSelectionState();
},
......
......@@ -1800,7 +1800,7 @@
this._fixSelectionOfMergedCells();
this._fixSelectionOfHiddenCells();
this._drawGraphic();
this.objectRender.showDrawingObjectsEx(false);
this.objectRender.showDrawingObjects(false);
if (this.overlayCtx) {
this._drawSelection();
}
......
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