mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 10:33:50 +00:00
* BugFix: Correct the MacOS hotkey workaround causing eg. the Windows key to potentially be processed as part of a hotkey combo.
This commit is contained in:
parent
3f944874f3
commit
e686a9850e
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ namespace
|
|||
}
|
||||
|
||||
// NOTE: For MacOS, this will treat command as Left or Right CTRL
|
||||
#ifdef TORQUE_OS_MAC
|
||||
if (mod & KMOD_LGUI)
|
||||
{
|
||||
ret |= SI_LCTRL;
|
||||
|
|
@ -98,6 +99,7 @@ namespace
|
|||
ret |= SI_RCTRL;
|
||||
ret |= SI_CTRL;
|
||||
}
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue