Browse Source

Merge pull request #604 in DESIGN/design from ~WIM.ZHAI/xdesign:release/10.0 to release/10.0

* commit 'd6670650e54cbee6e6b2b3f523d20340b506037f':
  CHART-3206 & CHART-3374 9to10
final/10.0
zheng 6 years ago
parent
commit
d7ef9009f0
  1. 2
      designer-base/src/main/java/com/fr/design/style/color/ColorSelectDetailPane.java

2
designer-base/src/main/java/com/fr/design/style/color/ColorSelectDetailPane.java

@ -95,7 +95,7 @@ public class ColorSelectDetailPane extends BasicPane {
public void stateChanged(ChangeEvent e) { public void stateChanged(ChangeEvent e) {
ColorSelectionModel model = (ColorSelectionModel) e.getSource(); ColorSelectionModel model = (ColorSelectionModel) e.getSource();
colorChooserPreview.setMyColor(model.getSelectedColor()); colorChooserPreview.setMyColor(model.getSelectedColor());
colorChooserPreview.paint(colorChooserPreview.getGraphics()); colorChooserPreview.repaint();
} }
}); });
previewPanel.add(colorChooserPreview); previewPanel.add(colorChooserPreview);

Loading…
Cancel
Save