[DE] Fix aspect ratio (wrong proportion)

This commit is contained in:
Julia Radzhabova 2022-04-19 19:59:43 +03:00
parent a2b2c63bd1
commit 483b17773d

View file

@ -1408,7 +1408,7 @@ define([ 'text!documenteditor/main/app/template/ImageSettingsAdvanced.templat
this._setShapeDefaults(shapeprops);
this.setTitle(this.textTitleShape);
value = props.asc_getLockAspect();
this.chRatio.setValue(value);
this.chRatio.setValue(value, true);
this.spnShapeWidth.setMaxValue(this.sizeMax.width);
this.spnShapeHeight.setMaxValue(this.sizeMax.height);