[SSE] Bug with plugin editing.

This commit is contained in:
Julia Radzhabova 2016-08-29 17:26:34 +03:00
parent 878f1880c3
commit 1e1ea2c49f

View file

@ -80,6 +80,7 @@ define([
this._locked = false;
this._noApply = false;
this._originalProps = null;
this.render();
@ -199,6 +200,8 @@ define([
this.disableControls(this._locked);
if (props ){
this._originalProps = new Asc.asc_CImgProperty(props);
var value = props.asc_getWidth();
if ( Math.abs(this._state.Width-value)>0.001 ||
(this._state.Width===null || value===null)&&(this._state.Width!==value)) {