Browse Source

Fix regression where the tree renderer background isn't correctly applied.

pull/214/head
weisj 4 years ago
parent
commit
bba681969e
  1. 2
      core/src/main/java/com/github/weisj/darklaf/ui/cell/CellUtil.java

2
core/src/main/java/com/github/weisj/darklaf/ui/cell/CellUtil.java

@ -347,7 +347,7 @@ public class CellUtil {
if (comp instanceof DefaultTreeCellRenderer) {
Color c = comp.getBackground();
if (ColorUtil.canOverwriteColor(c)) {
comp.setBackground(ColorUtil.stripUIResource(c));
comp.setBackground(ColorUtil.stripUIResource(bg));
}
}
}

Loading…
Cancel
Save