Browse Source

Reformat ternary operator.

pull/235/head
weisj 4 years ago
parent
commit
4873f9b4b0
No known key found for this signature in database
GPG Key ID: 31124CB75461DA2A
  1. 3
      core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java

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

@ -422,7 +422,8 @@ public class DarkButtonUI extends BasicButtonUI implements ButtonConstants {
}
protected Color getBorderlessBackground(final AbstractButton c) {
return isArmedBorderless(c) ? PropertyUtil.getColor(c, KEY_CLICK_COLOR, borderlessClick)
return isArmedBorderless(c)
? PropertyUtil.getColor(c, KEY_CLICK_COLOR, borderlessClick)
: PropertyUtil.getColor(c, KEY_HOVER_COLOR, borderlessHover);
}

Loading…
Cancel
Save