From 526b210fcd4b99cdd94d4b33b1473b37325de7b0 Mon Sep 17 00:00:00 2001 From: PrestonB1123 Date: Fri, 12 Jul 2019 12:39:58 -0700 Subject: [PATCH] remembered that macs exist --- scripts/system/keyboardShortcuts/keyboardShortcuts.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/system/keyboardShortcuts/keyboardShortcuts.js b/scripts/system/keyboardShortcuts/keyboardShortcuts.js index 28a77aee89..ca1429ad95 100644 --- a/scripts/system/keyboardShortcuts/keyboardShortcuts.js +++ b/scripts/system/keyboardShortcuts/keyboardShortcuts.js @@ -14,11 +14,11 @@ (function () { // BEGIN LOCAL_SCOPE var snapActivateSound = SoundCache.getSound(Script.resourcesPath() + "sounds/snapshot/snap.wav"); function keyPressEvent(event) { - if (event.text.toUpperCase() === "B" && event.isControl && !event.isShifted && !event.isAlt) { + if (event.text.toUpperCase() === "B" && event.isControl && !event.isShifted && !event.isAlt && !event.isCommand) { Window.openWebBrowser(); - } else if (event.text.toUpperCase() === "N" && event.isControl && !event.isShifted && !event.isAlt) { + } else if (event.text.toUpperCase() === "N" && event.isControl && !event.isShifted && !event.isAlt && !event.isCommand) { Users.toggleIgnoreRadius(); - } else if (event.text.toUpperCase() === "P" && !event.isControl && !event.isShifted && !event.isAlt) { + } else if (event.text.toUpperCase() === "P" && !event.isControl && !event.isShifted && !event.isAlt && !event.isCommand) { Audio.playSound(snapActivateSound, { position: { x: MyAvatar.position.x, y: MyAvatar.position.y, z: MyAvatar.position.z }, localOnly: true,