Browse Source

Fixed incorrect path.

Signed-off-by: weisj <weisj@arcor.de>
pull/27/head
weisj 5 years ago
parent
commit
afcd7686fa
  1. 2
      src/main/java/com/github/weisj/darklaf/DarkLaf.java

2
src/main/java/com/github/weisj/darklaf/DarkLaf.java

@ -121,7 +121,7 @@ public class DarkLaf extends BasicLookAndFeel implements PropertyChangeListener
boolean useScreenMenuBar = "true".equalsIgnoreCase(System.getProperty("apple.laf.useScreenMenuBar", boolean useScreenMenuBar = "true".equalsIgnoreCase(System.getProperty("apple.laf.useScreenMenuBar",
"false")); "false"));
if (SystemInfo.isMac && !useScreenMenuBar) { if (SystemInfo.isMac && !useScreenMenuBar) {
defaults.put("MenuBarUI", "com.weis.darklaf.ui.menu.DarkMenuBarUI"); defaults.put("MenuBarUI", "com.github.weisj.darklaf.ui.menu.DarkMenuBarUI");
defaults.put("MenuUI", "javax.swing.plaf.basic.BasicMenuUI"); defaults.put("MenuUI", "javax.swing.plaf.basic.BasicMenuUI");
} }
} }

Loading…
Cancel
Save