[PE] Fix Bug 32442.

This commit is contained in:
Julia Radzhabova 2016-09-08 15:04:31 +03:00
parent 664ea58e1e
commit 6812a5b9a0

View file

@ -201,6 +201,8 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem
var value = props.asc_getLockAspect();
this.btnRatio.toggle(value);
if (props.get_Height()>0)
this._nRatio = props.get_Width()/props.get_Height();
if (props.get_Position()) {
var Position = {X: props.get_Position().get_X(), Y: props.get_Position().get_Y()};