Commit e9e0e625 authored by Sergey Luzyanin's avatar Sergey Luzyanin

set flag Locked in Image props

parent 89ee8428
......@@ -3165,7 +3165,6 @@ CPresentation.prototype =
return this.Slides[this.CurPage].graphicObjects.Get_SelectedText(bClearText);
}
return "";
},
//-----------------------------------------------------------------------------------
......@@ -3448,6 +3447,10 @@ CPresentation.prototype =
drawing_props.imageProps.Width = drawing_props.imageProps.w;
drawing_props.imageProps.Height = drawing_props.imageProps.h;
drawing_props.imageProps.Position = {X: drawing_props.imageProps.x, Y: drawing_props.imageProps.y};
if(AscFormat.isRealBool(drawing_props.imageProps.locked) && drawing_props.imageProps.locked)
{
drawing_props.imageProps.Locked = true;
}
editor.sync_ImgPropCallback(drawing_props.imageProps);
}
......
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