* 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:
Robert MacGregor 2022-05-25 21:46:12 -04:00
parent d5d846f311
commit 3f944874f3
2 changed files with 13 additions and 80 deletions

View file

@ -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;
}
}