Revert "Fix list selection background when unfocused"

This reverts commit ae7605573f as it breaks much more than it fixes.
This commit is contained in:
Gregory.Shrago
2014-05-21 19:51:01 +04:00
parent 15b772ce72
commit 09d78904b4
@@ -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);