mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Backends: OSX: Fixed typo.
This commit is contained in:
parent
790132a672
commit
b2e2cc44c2
@ -656,7 +656,7 @@ bool ImGui_ImplOSX_HandleEvent(NSEvent* event, NSView* view)
|
|||||||
{
|
{
|
||||||
io.AddKeyEvent(key, (imgui_flags & imgui_mask) != 0);
|
io.AddKeyEvent(key, (imgui_flags & imgui_mask) != 0);
|
||||||
}
|
}
|
||||||
io.SetKeyEventNativeData(key, keycode, -1); // To support legacy indexing (<1.87 user code)
|
io.SetKeyEventNativeData(key, key_code, -1); // To support legacy indexing (<1.87 user code)
|
||||||
}
|
}
|
||||||
|
|
||||||
return io.WantCaptureKeyboard;
|
return io.WantCaptureKeyboard;
|
||||||
|
Loading…
Reference in New Issue
Block a user