* 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:
Robert MacGregor 2022-05-25 21:50:14 -04:00
parent 3f944874f3
commit e686a9850e

View file

@ -87,6 +87,7 @@ namespace
} }
// NOTE: For MacOS, this will treat command as Left or Right CTRL // NOTE: For MacOS, this will treat command as Left or Right CTRL
#ifdef TORQUE_OS_MAC
if (mod & KMOD_LGUI) if (mod & KMOD_LGUI)
{ {
ret |= SI_LCTRL; ret |= SI_LCTRL;
@ -98,6 +99,7 @@ namespace
ret |= SI_RCTRL; ret |= SI_RCTRL;
ret |= SI_CTRL; ret |= SI_CTRL;
} }
#endif
return ret; return ret;
} }