Browse Source

Pull request #1447: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '60773701f6813cd5efe5e737b6daa89b12567535':
  文本支持点击
es6
guy 4 years ago
parent
commit
bd34d1660a
  1. 7
      src/case/colorchooser/colorchooser.js

7
src/case/colorchooser/colorchooser.js

@ -11,7 +11,8 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
return BI.extend(BI.ColorChooser.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.ColorChooser.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-color-chooser", baseCls: "bi-color-chooser",
value: "", value: "",
height: 24 height: 24,
el: {}
}); });
}, },
@ -32,8 +33,8 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
ref: function (_ref) { ref: function (_ref) {
self.trigger = _ref; self.trigger = _ref;
}, },
width: o.type ? o.width : o.width - 2, width: o.el.type ? o.width : o.width - 2,
height: o.type ? o.height : o.height - 2 height: o.el.type ? o.height : o.height - 2
}, o.el), }, o.el),
popup: { popup: {
el: BI.extend({ el: BI.extend({

Loading…
Cancel
Save