mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "Fix list selection background when unfocused"
This reverts commit ae7605573f as it breaks much more than it fixes.
This commit is contained in:
@@ -56,9 +56,7 @@ public abstract class ColoredListCellRenderer<T> extends SimpleColoredComponent
|
||||
}
|
||||
}
|
||||
else {
|
||||
setBackground(selected ?
|
||||
hasFocus ? UIUtil.getListSelectionBackground() : UIUtil.getListUnfocusedSelectionBackground() :
|
||||
UIUtil.getListBackground());
|
||||
setBackground(selected ? list.getSelectionBackground() : null);
|
||||
}
|
||||
|
||||
setPaintFocusBorder(hasFocus);
|
||||
|
||||
Reference in New Issue
Block a user