From 31aed3acae30d83c2f0f8055da416d2d48e86e5a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 24 Nov 2021 10:53:00 +0300 Subject: [PATCH] Fix Bug 54038 --- apps/documenteditor/main/app/view/ShapeSettings.js | 1 + apps/presentationeditor/main/app/view/ShapeSettings.js | 1 + apps/spreadsheeteditor/main/app/view/ShapeSettings.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/view/ShapeSettings.js b/apps/documenteditor/main/app/view/ShapeSettings.js index b221f5d54..0c75fddaa 100644 --- a/apps/documenteditor/main/app/view/ShapeSettings.js +++ b/apps/documenteditor/main/app/view/ShapeSettings.js @@ -1198,6 +1198,7 @@ define([ this._state.GradColor = color; } + this.chShadow.setDisabled(!!shapeprops.get_FromChart()); this.chShadow.setValue(!!shapeprops.asc_getShadow(), true); this._noApply = false; diff --git a/apps/presentationeditor/main/app/view/ShapeSettings.js b/apps/presentationeditor/main/app/view/ShapeSettings.js index 97404aec3..acb8643d2 100644 --- a/apps/presentationeditor/main/app/view/ShapeSettings.js +++ b/apps/presentationeditor/main/app/view/ShapeSettings.js @@ -1099,6 +1099,7 @@ define([ this._state.GradColor = color; } + this.chShadow.setDisabled(!!props.get_FromChart()); this.chShadow.setValue(!!props.asc_getShadow(), true); this._noApply = false; diff --git a/apps/spreadsheeteditor/main/app/view/ShapeSettings.js b/apps/spreadsheeteditor/main/app/view/ShapeSettings.js index fb9c26e30..2927afb5b 100644 --- a/apps/spreadsheeteditor/main/app/view/ShapeSettings.js +++ b/apps/spreadsheeteditor/main/app/view/ShapeSettings.js @@ -1124,7 +1124,7 @@ define([ this._state.GradColor = color; } - + this.chShadow.setDisabled(!!shapeprops.get_FromChart()); this.chShadow.setValue(!!shapeprops.asc_getShadow(), true); this._noApply = false;