Browse Source

Ensure correct background is used.

pull/214/head
weisj 4 years ago
parent
commit
e288aa38fb
  1. 2
      core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java

2
core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java

@ -212,7 +212,7 @@ public class DarkButtonUI extends BasicButtonUI implements ButtonConstants {
g.setComposite(comp);
}
g.setColor(c.getBackground());
g.setColor(getBackgroundColor(c));
paintBackgroundRect(g, effectiveArc, bgRect);
}

Loading…
Cancel
Save