Skip to content

Commit

Permalink
[SSE PE DE] Bug 67041
Browse files Browse the repository at this point in the history
  • Loading branch information
Basher0303 committed Mar 29, 2024
1 parent 5c6447b commit 6f7a6d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions apps/documenteditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2326,6 +2326,7 @@ define([
this.colorsFG.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.colorsBG.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.colorsGrad.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.mnuShadowShapeColorPicker.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
},

_pt2mm: function(value) {
Expand Down
9 changes: 1 addition & 8 deletions apps/presentationeditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ define([
if (this.api) {
this.api.asc_setInterfaceDrawImagePlaceShape('shape-texture-img');
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
this.api.asc_registerCallback('asc_onSendThemeColors', _.bind(this.onSendThemeColors, this));
}
Common.NotificationCenter.on('storage:image-insert', _.bind(this.insertImageFromStorage, this));
return this;
Expand Down Expand Up @@ -1939,13 +1938,6 @@ define([
}
},

onSendThemeColors: function() {
if (this.mnuShadowShapeColorPicker) {
var effectcolors = Common.Utils.ThemeColor.getEffectColors();
this.mnuShadowShapeColorPicker.updateColors(effectcolors, Common.Utils.ThemeColor.getStandartColors());
}
},

onSelectTexture: function(picker, view, record){
this._fromTextureCmb = true;
this.cmbFillType.setValue(this._arrFillType[1].value);
Expand Down Expand Up @@ -2165,6 +2157,7 @@ define([
this.colorsFG.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.colorsBG.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.colorsGrad.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.mnuShadowShapeColorPicker.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
},

onBtnRotateClick: function(btn) {
Expand Down
1 change: 1 addition & 0 deletions apps/spreadsheeteditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2206,6 +2206,7 @@ define([
this.colorsFG.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.colorsBG.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.colorsGrad.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
this.mnuShadowShapeColorPicker.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
},

_pt2mm: function(value) {
Expand Down

0 comments on commit 6f7a6d0

Please sign in to comment.