Fixed theme customization bug
This commit is contained in:
parent
3f8702b17c
commit
2f090ad5d6
@ -194,7 +194,8 @@ public class ThemeCustomizationPanel extends SettingsPanel {
|
||||
|
||||
button.addActionListener((evt) -> {
|
||||
try {
|
||||
Color newColor = (Color) JColorChooser.showDialog(null, "Choose a color", color);
|
||||
java.awt.Color c = JColorChooser.showDialog(null, "Choose a color", color);
|
||||
Color newColor = new Color(c.getRGB());
|
||||
if (newColor.getRGB() != color.getRGB()) {
|
||||
logger.log(Level.FINEST, "New Color: " + String.valueOf(color.getRGB()));
|
||||
// TODO: When Theme changed in same settings screen, color variable doesn't
|
||||
|
Reference in New Issue
Block a user