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