imgui: Fix keyboard modifiers on Mac
This commit is contained in:
parent
2de814d478
commit
5de52b7da4
1 changed files with 3 additions and 0 deletions
|
@ -358,6 +358,9 @@ void ImGuiWrapper::init_input()
|
|||
io.KeyMap[ImGuiKey_Y] = 'Y';
|
||||
io.KeyMap[ImGuiKey_Z] = 'Z';
|
||||
|
||||
// Don't let imgui special-case Mac, wxWidgets already do that
|
||||
io.ConfigMacOSXBehaviors = false;
|
||||
|
||||
// Setup clipboard interaction callbacks
|
||||
io.SetClipboardTextFn = clipboard_set;
|
||||
io.GetClipboardTextFn = clipboard_get;
|
||||
|
|
Loading…
Reference in a new issue