Browse Source

Fixed incorrect maximized inactive icon (windows).

pull/139/head
weisj 5 years ago
parent
commit
1a5bd64772
  1. 2
      windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java

2
windows/src/main/java/com/github/weisj/darklaf/platform/windows/ui/WindowsTitlePane.java

@ -433,7 +433,7 @@ public class WindowsTitlePane extends CustomTitlePane {
closeIcon.setActive(active);
titleLabel.setForeground(active ? activeForeground : inactiveForeground);
minimizeIcon.setActive(active);
maximizeIcon.setActive(isResizable());
maximizeIcon.setActive(isResizable() && active);
closeIcon.setActive(active);
restoreIcon.setActive(isResizable());
setButtonActive(minimizeButton, active);

Loading…
Cancel
Save