mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
* BugFix: Correct MacOS not responding to Command+C, Command+X, Command+A and Command+V by removing a hack in guiTextEditCtrl and shifting the logic to sdlWindow.
This commit is contained in:
parent
d5d846f311
commit
3f944874f3
2 changed files with 13 additions and 80 deletions
|
|
@ -86,6 +86,19 @@ namespace
|
|||
ret |= SI_ALT;
|
||||
}
|
||||
|
||||
// NOTE: For MacOS, this will treat command as Left or Right CTRL
|
||||
if (mod & KMOD_LGUI)
|
||||
{
|
||||
ret |= SI_LCTRL;
|
||||
ret |= SI_CTRL;
|
||||
}
|
||||
|
||||
if (mod & KMOD_RGUI)
|
||||
{
|
||||
ret |= SI_RCTRL;
|
||||
ret |= SI_CTRL;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue