Fix Bug 54038

This commit is contained in:
Julia Radzhabova 2021-11-24 10:53:00 +03:00
parent 82d14abd98
commit 31aed3acae
3 changed files with 3 additions and 1 deletions

View file

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

View file

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

View file

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