From 9088b673581c8f9ecf2fe55e0f8211f3615e77b6 Mon Sep 17 00:00:00 2001 From: weisj Date: Thu, 26 Mar 2020 17:53:04 +0100 Subject: [PATCH] Fixed tree not being able to start editing. --- .../ui/cell/DarkCellRendererToggleButton.java | 10 +++---- .../ui/combobox/ComboBoxConstants.java | 7 +++-- .../weisj/darklaf/ui/list/DarkListUI.java | 1 + .../darklaf/ui/spinner/SpinnerConstants.java | 11 +++++--- .../darklaf/ui/table/DarkTableCellEditor.java | 9 +++++-- .../weisj/darklaf/ui/table/DarkTableUI.java | 2 ++ .../weisj/darklaf/ui/text/DarkTextBorder.java | 15 ----------- .../weisj/darklaf/ui/text/DarkTextUI.java | 11 +++++--- .../togglebutton/ToggleButtonConstants.java | 10 ++++--- .../ui/tree/DarkDefaultTreeEditor.java | 14 ++++++++++ .../darklaf/ui/tree/DarkTreeCellEditor.java | 16 +++++------ .../weisj/darklaf/ui/tree/DarkTreeUI.java | 27 ++++++++++--------- 12 files changed, 77 insertions(+), 56 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 ddec3c78..3b8bb935 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 @@ -27,7 +27,7 @@ import com.github.weisj.darklaf.components.SelectableTreeNode; import com.github.weisj.darklaf.decorators.CellRenderer; import com.github.weisj.darklaf.ui.table.DarkTableCellFocusBorder; import com.github.weisj.darklaf.ui.table.DarkTableUI; -import com.github.weisj.darklaf.ui.togglebutton.DarkToggleButtonUI; +import com.github.weisj.darklaf.ui.togglebutton.ToggleButtonConstants; import com.github.weisj.darklaf.ui.tree.DarkTreeCellRenderer; import com.github.weisj.darklaf.util.DarkUIUtil; @@ -104,8 +104,8 @@ public class DarkCellRendererToggleButton