Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 3c3e5b6

Browse files
committed
Use correct platform-specific modifier.
1 parent 8014185 commit 3c3e5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/nodebox/ui/Platform.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Platform {
3333
private static Map<String, Object> JNA_OPTIONS = new HashMap<String, Object>();
3434

3535
static {
36-
platformSpecificModifier = InputEvent.META_DOWN_MASK;
36+
platformSpecificModifier = Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx();
3737
if (com.sun.jna.Platform.isWindows()) {
3838
current_platform = WIN;
3939
JNA_OPTIONS.put(Library.OPTION_TYPE_MAPPER, W32APITypeMapper.UNICODE);

0 commit comments

Comments
 (0)