|
|
@ -462,7 +462,7 @@ public class NewColorSelectPane extends BasicPane implements ColorSelectable { |
|
|
|
int size = colors.length; |
|
|
|
int size = colors.length; |
|
|
|
for (int i = 1; i <= total; i++) { |
|
|
|
for (int i = 1; i <= total; i++) { |
|
|
|
ColorCell cell = (ColorCell) this.pane.getComponent(i); |
|
|
|
ColorCell cell = (ColorCell) this.pane.getComponent(i); |
|
|
|
Color color = i < size ? colors[size - i - 1] : UsedColorPane.DEFAULT_COLOR; |
|
|
|
Color color = i < size ? colors[size - i] : UsedColorPane.DEFAULT_COLOR; |
|
|
|
cell.setColor(color == null ? UsedColorPane.DEFAULT_COLOR : color); |
|
|
|
cell.setColor(color == null ? UsedColorPane.DEFAULT_COLOR : color); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|