Fix Bug 60179

This commit is contained in:
Julia Radzhabova 2022-12-15 18:39:17 +03:00
parent 34392d7eab
commit a5f27a9275
3 changed files with 3 additions and 3 deletions

View file

@ -1214,7 +1214,7 @@ define([
this._state.GradColor = color; this._state.GradColor = color;
} }
this.chShadow.setDisabled(!!shapeprops.get_FromChart()); this.chShadow.setDisabled(!!shapeprops.get_FromChart() || this._locked);
this.chShadow.setValue(!!shapeprops.asc_getShadow(), true); this.chShadow.setValue(!!shapeprops.asc_getShadow(), true);
this._noApply = false; this._noApply = false;

View file

@ -1145,7 +1145,7 @@ define([
this._state.GradColor = color; this._state.GradColor = color;
} }
this.chShadow.setDisabled(!!props.get_FromChart()); this.chShadow.setDisabled(!!props.get_FromChart() || this._locked);
this.chShadow.setValue(!!props.asc_getShadow(), true); this.chShadow.setValue(!!props.asc_getShadow(), true);
this._noApply = false; this._noApply = false;

View file

@ -1140,7 +1140,7 @@ define([
this._state.GradColor = color; this._state.GradColor = color;
} }
this.chShadow.setDisabled(!!shapeprops.get_FromChart()); this.chShadow.setDisabled(!!shapeprops.get_FromChart() || this._locked);
this.chShadow.setValue(!!shapeprops.asc_getShadow(), true); this.chShadow.setValue(!!shapeprops.asc_getShadow(), true);
this._noApply = false; this._noApply = false;