mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
ensure selected table text color is consistent across platforms
This commit is contained in:
@@ -197,6 +197,7 @@ public final class EditorTableView<T extends InventoryItem> {
|
|||||||
|
|
||||||
// use different selection highlight colors for focused vs. unfocused tables
|
// use different selection highlight colors for focused vs. unfocused tables
|
||||||
table.setSelectionBackground(FSkin.getColor(FSkin.Colors.CLR_INACTIVE));
|
table.setSelectionBackground(FSkin.getColor(FSkin.Colors.CLR_INACTIVE));
|
||||||
|
table.setSelectionForeground(FSkin.getColor(FSkin.Colors.CLR_TEXT));
|
||||||
table.addFocusListener(new FocusListener() {
|
table.addFocusListener(new FocusListener() {
|
||||||
@Override
|
@Override
|
||||||
public void focusLost(FocusEvent e) {
|
public void focusLost(FocusEvent e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user