mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-27 12:46:22 +01:00
Set account dialog selection colors correctly
This commit is contained in:
parent
8d3a172ee9
commit
b979eb33c9
@ -229,9 +229,11 @@ public class AccountSelectDialog extends JDialog {
|
||||
|
||||
if (isSelected) {
|
||||
setOpaque(true);
|
||||
setBackground(new Color(0x397BBF));
|
||||
setBackground(list.getSelectionBackground());
|
||||
setForeground(list.getSelectionForeground());
|
||||
} else {
|
||||
setOpaque(false);
|
||||
setForeground(list.getForeground());
|
||||
}
|
||||
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user