|
|
@ -32,8 +32,8 @@ BI.ColorChooser = BI.inherit(BI.Widget, { |
|
|
|
ref: function (_ref) { |
|
|
|
ref: function (_ref) { |
|
|
|
self.trigger = _ref; |
|
|
|
self.trigger = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
width: o.width - 2, |
|
|
|
width: o.type ? o.width : o.width - 2, |
|
|
|
height: o.height - 2 |
|
|
|
height: o.type ? o.height : o.height - 2 |
|
|
|
}, o.el), |
|
|
|
}, o.el), |
|
|
|
popup: { |
|
|
|
popup: { |
|
|
|
el: BI.extend({ |
|
|
|
el: BI.extend({ |
|
|
@ -98,4 +98,4 @@ BI.ColorChooser = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.ColorChooser.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.ColorChooser.EVENT_CHANGE = "EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.color_chooser", BI.ColorChooser); |
|
|
|
BI.shortcut("bi.color_chooser", BI.ColorChooser); |
|
|
|