Browse Source

Pull request #4337: CHART-19344 系列取色器改为点击之后确定颜色

Merge in DESIGN/design from ~BJORN/design:final/10.0 to final/10.0

* commit '298fab27bf729127d6669aea6d722342f1dd17b9':
  CHART-19344 取色器改为点击之后确定颜色
final/10.0
Kara 4 years ago
parent
commit
31a8bae6f9
  1. 5
      designer-base/src/main/java/com/fr/design/style/color/ColorButton.java

5
designer-base/src/main/java/com/fr/design/style/color/ColorButton.java

@ -126,6 +126,11 @@ public class ColorButton extends AbstractSelectBox<Color> {
public void setVisible(boolean b) { public void setVisible(boolean b) {
super.setVisible(b); super.setVisible(b);
} }
@Override
protected boolean selectRealTime() {
return false;
}
}; };
colorPane.addChangeListener(new ChangeListener() { colorPane.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) { public void stateChanged(ChangeEvent e) {

Loading…
Cancel
Save