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); closeIcon.setActive(active);
titleLabel.setForeground(active ? activeForeground : inactiveForeground); titleLabel.setForeground(active ? activeForeground : inactiveForeground);
minimizeIcon.setActive(active); minimizeIcon.setActive(active);
maximizeIcon.setActive(isResizable()); maximizeIcon.setActive(isResizable() && active);
closeIcon.setActive(active); closeIcon.setActive(active);
restoreIcon.setActive(isResizable()); restoreIcon.setActive(isResizable());
setButtonActive(minimizeButton, active); setButtonActive(minimizeButton, active);

Loading…
Cancel
Save