[SSE] Fix default databar settings
This commit is contained in:
parent
afd23e77bd
commit
88a12dab87
|
@ -892,14 +892,14 @@ define([
|
||||||
parentEl: $('#format-rules-edit-color-pos-fill'),
|
parentEl: $('#format-rules-edit-color-pos-fill'),
|
||||||
style: "width:45px;",
|
style: "width:45px;",
|
||||||
menu : true,
|
menu : true,
|
||||||
color : '000000'
|
color : '638EC6'
|
||||||
});
|
});
|
||||||
|
|
||||||
this.btnNegFill = new Common.UI.ColorButton({
|
this.btnNegFill = new Common.UI.ColorButton({
|
||||||
parentEl: $('#format-rules-edit-color-neg-fill'),
|
parentEl: $('#format-rules-edit-color-neg-fill'),
|
||||||
style: "width:45px;",
|
style: "width:45px;",
|
||||||
menu : true,
|
menu : true,
|
||||||
color : '000000'
|
color : 'FF0000'
|
||||||
});
|
});
|
||||||
|
|
||||||
this.chFill = new Common.UI.CheckBox({
|
this.chFill = new Common.UI.CheckBox({
|
||||||
|
@ -1598,9 +1598,8 @@ define([
|
||||||
var colorPicker = btn.getPicker();
|
var colorPicker = btn.getPicker();
|
||||||
colorPicker.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
|
colorPicker.updateColors(Common.Utils.ThemeColor.getEffectColors(), Common.Utils.ThemeColor.getStandartColors());
|
||||||
btn.colorPicker = colorPicker;
|
btn.colorPicker = colorPicker;
|
||||||
colorPicker.currentColor = '000000';
|
colorPicker.currentColor = btn.color;
|
||||||
colorPicker.select(colorPicker.currentColor, true);
|
colorPicker.select(colorPicker.currentColor, true);
|
||||||
btn.setColor(colorPicker.currentColor);
|
|
||||||
};
|
};
|
||||||
initColor(this.btnPosFill);
|
initColor(this.btnPosFill);
|
||||||
this.btnPosFill.on('color:select', _.bind(this.onBarColorsSelect, this, 'pos'));
|
this.btnPosFill.on('color:select', _.bind(this.onBarColorsSelect, this, 'pos'));
|
||||||
|
|
Loading…
Reference in a new issue