Browse Source

Fixed NumLock causing problems with action hotkeys.

Mark Sibly 8 years ago
parent
commit
36f26d397e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/mojox/action.monkey2

+ 2 - 2
modules/mojox/action.monkey2

@@ -188,9 +188,9 @@ Class Action
 				Local actions:=_hotKeys[event.Key]
 				If Not actions Return
 
-				Local mods:=event.Modifiers
+				Local mods:=event.Modifiers & (Modifier.Shift|Modifier.Alt|Modifier.Control|Modifier.Gui)
 				mods|=Cast<Modifier>( (Int(mods) & $541) Shl 1 | (Int(mods) & $a82) Shr 1 )
-
+				
 				For Local action:=Eachin actions
 					If event.Key<>action._hotKey Continue
 					If mods<>action._hotKeyMods Continue