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);
cardLayout.show(changeColorSetPane, "acc");
if (colorList.size() > 0) {
if (!colorList.isEmpty()) {
colorAdjustPane.updateColor(colorList.toArray(new Color[colorList.size()]));
} else {
List<Color> resultList = new ArrayList<>();

Loading…
Cancel
Save