mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-25 02:24:24 +00:00
Backends: OSX: Fixed typo.
This commit is contained in:
parent
ef681e7019
commit
9ce0f35ef3
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ bool ImGui_ImplOSX_HandleEvent(NSEvent* event, NSView* view)
|
|||
{
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue