From 599fca7bd572d285e41ad146a08309b8c3990c23 Mon Sep 17 00:00:00 2001 From: weisj Date: Wed, 18 Mar 2020 01:15:42 +0100 Subject: [PATCH] Dont paint selection background on lead selection cell. --- .../ui/cell/DarkCellRendererToggleButton.java | 8 +++++++- .../table/DarkTableCellEditorToggleButton.java | 7 ++++++- .../ui/table/DarkTableCellFocusBorder.java | 4 ++-- .../darklaf/ui/table/DarkTableCellRenderer.java | 17 +++++++++++------ .../weisj/darklaf/ui/table/DarkTableUI.java | 2 +- 5 files changed, 27 insertions(+), 11 deletions(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/cell/DarkCellRendererToggleButton.java b/core/src/main/java/com/github/weisj/darklaf/ui/cell/DarkCellRendererToggleButton.java index 289ddc6c..5ca07863 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/cell/DarkCellRendererToggleButton.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/cell/DarkCellRendererToggleButton.java @@ -26,6 +26,7 @@ package com.github.weisj.darklaf.ui.cell; import com.github.weisj.darklaf.components.SelectableTreeNode; import com.github.weisj.darklaf.decorators.CellRenderer; import com.github.weisj.darklaf.ui.button.DarkToggleButtonUI; +import com.github.weisj.darklaf.ui.table.DarkTableCellFocusBorder; import com.github.weisj.darklaf.ui.table.DarkTableUI; import com.github.weisj.darklaf.ui.tree.DarkTreeCellRenderer; import com.github.weisj.darklaf.util.DarkUIUtil; @@ -60,11 +61,16 @@ public class DarkCellRendererToggleButton