diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/cell/CellUtil.java b/core/src/main/java/com/github/weisj/darklaf/ui/cell/CellUtil.java index 4d535763..4ea3efd0 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/cell/CellUtil.java +++ b/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)); } } }