From a35b4e8b82cd38ab825ed318bacff50ca9cad27a Mon Sep 17 00:00:00 2001 From: weisj Date: Tue, 17 Mar 2020 16:52:10 +0100 Subject: [PATCH] Removed Button.rolloverEnabled property --- .../java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java | 1 - .../com/github/weisj/darklaf/properties/ui/button.properties | 1 - 2 files changed, 2 deletions(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java index 47fd6c45..a02d0022 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java @@ -273,7 +273,6 @@ public class DarkButtonUI extends BasicButtonUI implements PropertyChangeListene protected void installDefaults(final AbstractButton b) { super.installDefaults(b); LookAndFeel.installProperty(b, PropertyKey.OPAQUE, false); - b.setRolloverEnabled(UIManager.getBoolean("Button.rolloverEnabled")); borderSize = UIManager.getInt("Button.borderThickness"); shadowHeight = UIManager.getInt("Button.shadowHeight"); inactiveForeground = UIManager.getColor("Button.disabledText"); diff --git a/core/src/main/resources/com/github/weisj/darklaf/properties/ui/button.properties b/core/src/main/resources/com/github/weisj/darklaf/properties/ui/button.properties index 783e0f9d..46875457 100644 --- a/core/src/main/resources/com/github/weisj/darklaf/properties/ui/button.properties +++ b/core/src/main/resources/com/github/weisj/darklaf/properties/ui/button.properties @@ -47,7 +47,6 @@ Button.minimumArc = %arcSecondary Button.borderThickness = %borderThickness Button.shadowHeight = %shadowHeight -Button.rolloverEnabled = false Button.borderInsets = 7,16,7,16 Button.thinBorderInsets = 4,8,4,8 Button.squareThinBorderInsets = 4,4,4,4