Commit 89e8443e authored by Sergey Luzyanin's avatar Sergey Luzyanin

lockAspect

parent b724d87c
...@@ -6871,7 +6871,7 @@ DrawingObjectsController.prototype = ...@@ -6871,7 +6871,7 @@ DrawingObjectsController.prototype =
shape_props.ShapeProperties.bFromChart = props.shapeProps.bFromChart; shape_props.ShapeProperties.bFromChart = props.shapeProps.bFromChart;
shape_props.ShapeProperties.lockAspect = props.shapeProps.lockAspect; shape_props.ShapeProperties.lockAspect = props.shapeProps.lockAspect;
shape_props.ShapeProperties.textArtProperties = AscFormat.CreateAscTextArtProps(props.shapeProps.textArtProperties); shape_props.ShapeProperties.textArtProperties = AscFormat.CreateAscTextArtProps(props.shapeProps.textArtProperties);
shape_props.lockAspect = props.shapeProps.lockAspect;
if(props.shapeProps.textArtProperties) if(props.shapeProps.textArtProperties)
{ {
oTextArtProperties = props.shapeProps.textArtProperties; oTextArtProperties = props.shapeProps.textArtProperties;
...@@ -6929,7 +6929,7 @@ DrawingObjectsController.prototype = ...@@ -6929,7 +6929,7 @@ DrawingObjectsController.prototype =
image_props.Height = props.imageProps.h; image_props.Height = props.imageProps.h;
image_props.ImageUrl = props.imageProps.ImageUrl; image_props.ImageUrl = props.imageProps.ImageUrl;
image_props.Locked = props.imageProps.locked === true; image_props.Locked = props.imageProps.locked === true;
image_props.lockAspect = props.imageProps.lockAspect;
if(!bParaLocked) if(!bParaLocked)
{ {
bParaLocked = image_props.Locked; bParaLocked = image_props.Locked;
...@@ -6943,6 +6943,7 @@ DrawingObjectsController.prototype = ...@@ -6943,6 +6943,7 @@ DrawingObjectsController.prototype =
chart_props.Height = props.chartProps.h; chart_props.Height = props.chartProps.h;
chart_props.ChartProperties = props.chartProps.chartProps; chart_props.ChartProperties = props.chartProps.chartProps;
chart_props.Locked = props.chartProps.locked === true; chart_props.Locked = props.chartProps.locked === true;
chart_props.lockAspect = props.chartProps.lockAspect;
if(!bParaLocked) if(!bParaLocked)
{ {
bParaLocked = chart_props.Locked; bParaLocked = chart_props.Locked;
......
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