Browse Source

Fixed window popupmenu using wrong separator on windows.

pull/127/head
weisj 5 years ago
parent
commit
76c2552807
  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

@ -371,7 +371,7 @@ public class WindowsTitlePane extends CustomTitlePane {
setDisabledIcon(maximizeIcon); setDisabledIcon(maximizeIcon);
}}); }});
} }
menu.add(new JSeparator()); menu.addSeparator();
menu.add(new JMenuItem(closeAction) {{ menu.add(new JMenuItem(closeAction) {{
setDisabledIcon(closeIcon); setDisabledIcon(closeIcon);
}}); }});

Loading…
Cancel
Save