Fixed theme customization bug
This commit is contained in:
parent
f6d6ef0a3a
commit
91f780d1c6
@ -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