Browse Source

Merge pull request #4343 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit '1d2605f4ca4aa479059fda57330c46d21f9a310a':
  CHART-19344 取色器改为点击之后确定颜色
feature/10.0
superman 4 years ago
parent
commit
a68a09210f
  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