[DE] Fix 38604
This commit is contained in:
parent
e33946f4bd
commit
5667132024
|
@ -897,7 +897,7 @@ define([
|
||||||
if (show){
|
if (show){
|
||||||
var clr = this.api.asc_GetGlobalContentControlHighlightColor();
|
var clr = this.api.asc_GetGlobalContentControlHighlightColor();
|
||||||
if (clr) {
|
if (clr) {
|
||||||
clr = Common.Utils.ThemeColor.getHexColor(clr.r, clr.g, clr.b);
|
clr = Common.Utils.ThemeColor.getHexColor(clr.get_r(), clr.get_g(), clr.get_b());
|
||||||
this.toolbar.mnuControlsColorPicker.selectByRGB(clr, true);
|
this.toolbar.mnuControlsColorPicker.selectByRGB(clr, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -247,7 +247,7 @@ define([
|
||||||
(val!==null && val!==undefined) && this.cmbShow.setValue(val);
|
(val!==null && val!==undefined) && this.cmbShow.setValue(val);
|
||||||
|
|
||||||
val = props.get_Color();
|
val = props.get_Color();
|
||||||
val = (val) ? Common.Utils.ThemeColor.getHexColor(val.r, val.g, val.b) : '#000000';
|
val = (val) ? Common.Utils.ThemeColor.getHexColor(val.get_r(), val.get_g(), val.get_b()) : '#000000';
|
||||||
this.btnColor.setColor(val);
|
this.btnColor.setColor(val);
|
||||||
this.colors.selectByRGB(val,true);
|
this.colors.selectByRGB(val,true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue