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:
parent
8d3a172ee9
commit
b979eb33c9
@ -229,9 +229,11 @@ public class AccountSelectDialog extends JDialog {
|
|||||||
|
|
||||||
if (isSelected) {
|
if (isSelected) {
|
||||||
setOpaque(true);
|
setOpaque(true);
|
||||||
setBackground(new Color(0x397BBF));
|
setBackground(list.getSelectionBackground());
|
||||||
|
setForeground(list.getSelectionForeground());
|
||||||
} else {
|
} else {
|
||||||
setOpaque(false);
|
setOpaque(false);
|
||||||
|
setForeground(list.getForeground());
|
||||||
}
|
}
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
Reference in New Issue
Block a user