Browse Source

CHART-22060 fix:fvs图表第一个不是跟随主题default 是normal

bugfix/11.0
shine 3 years ago
parent
commit
6f435f3840
  1. 2
      designer-base/src/main/java/com/fr/design/gui/icombobox/ColorSchemeComboBox.java

2
designer-base/src/main/java/com/fr/design/gui/icombobox/ColorSchemeComboBox.java

@ -153,7 +153,7 @@ public class ColorSchemeComboBox extends UIComboBox {
if (selectedIndex == itemCount - 2) {
return SelectType.COMBINATION_COLOR;
}
if (selectedIndex == 0) {
if (selectedIndex == 0 && ChartEditContext.supportTheme()) {
return SelectType.DEFAULT;
}
return SelectType.NORMAL;

Loading…
Cancel
Save