1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-30 13:13:58 +01:00

Set account dialog selection colors correctly

This commit is contained in:
Henry Le Grys 2021-02-13 01:51:53 +00:00
parent 8d3a172ee9
commit b979eb33c9

View File

@ -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;