|
|
@ -13,6 +13,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { |
|
|
|
value: "", |
|
|
|
value: "", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
el: {}, |
|
|
|
el: {}, |
|
|
|
|
|
|
|
simple: false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -30,6 +31,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
isNeedAdjustHeight: false, |
|
|
|
el: BI.extend({ |
|
|
|
el: BI.extend({ |
|
|
|
type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", |
|
|
|
type: o.width <= 24 ? "bi.color_chooser_trigger" : "bi.long_color_chooser_trigger", |
|
|
|
|
|
|
|
simple: o.simple, |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.trigger = _ref; |
|
|
|
self.trigger = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|