Browse Source

CHART-13744

feature/big-screen
白岳 5 years ago
parent
commit
5d1d2ab1fc
  1. 2
      designer-chart/src/main/java/com/fr/design/module/ChartPreFillStylePane.java

2
designer-chart/src/main/java/com/fr/design/module/ChartPreFillStylePane.java

@ -131,7 +131,7 @@ public class ChartPreFillStylePane extends BasicBeanPane<ChartColorMatching> {
gradientButton.setSelected(false); gradientButton.setSelected(false);
cardLayout.show(changeColorSetPane, "acc"); cardLayout.show(changeColorSetPane, "acc");
if (colorList.size() > 0) { if (!colorList.isEmpty()) {
colorAdjustPane.updateColor(colorList.toArray(new Color[colorList.size()])); colorAdjustPane.updateColor(colorList.toArray(new Color[colorList.size()]));
} else { } else {
List<Color> resultList = new ArrayList<>(); List<Color> resultList = new ArrayList<>();

Loading…
Cancel
Save