Commit 78748bb1 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34299

parent e94def2e
......@@ -700,6 +700,7 @@ RotateState.prototype =
}
else
{
var bNoNeedCheck = true;
if(bMoveState)
{
for(i = 0; i < aNearestPos.length; ++i)
......@@ -709,9 +710,12 @@ RotateState.prototype =
AscFormat.checkObjectInArray(aCheckParagraphs, aNearestPos[i].Paragraph);
AscFormat.checkObjectInArray(aCheckParagraphs, aParentParagraphs[i]);
}
else{
bNoNeedCheck = false;
}
}
}
if(false === editor.isViewMode && false === this.drawingObjects.document.Document_Is_SelectionLocked(changestype_Drawing_Props, {Type : changestype_2_ElementsArray_and_Type , Elements : aCheckParagraphs, CheckType : AscCommon.changestype_Paragraph_Content}, true))
if(false === editor.isViewMode && false === this.drawingObjects.document.Document_Is_SelectionLocked(changestype_Drawing_Props, {Type : changestype_2_ElementsArray_and_Type , Elements : aCheckParagraphs, CheckType : AscCommon.changestype_Paragraph_Content}, bNoNeedCheck))
{
History.Create_NewPoint(AscDFH.historydescription_Document_RotateFlowDrawingNoCtrl);
for(i = 0; i < aDrawings.length; ++i)
......
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