Browse Source

Removed Button.rolloverEnabled property

pull/97/head
weisj 5 years ago
parent
commit
a35b4e8b82
  1. 1
      core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java
  2. 1
      core/src/main/resources/com/github/weisj/darklaf/properties/ui/button.properties

1
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");

1
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

Loading…
Cancel
Save