Skip to content

Commit

Permalink
Fix lagging
Browse files Browse the repository at this point in the history
  • Loading branch information
dvlcx committed Oct 8, 2023
1 parent d0e7527 commit ff1a097
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ private bool TryMapKeys(Keys key, out ImGuiKey imguikey)
>= Keys.F1 and <= Keys.F12 => ImGuiKey.F1 + (key - Keys.F1),
Keys.NumLock => ImGuiKey.NumLock,
Keys.Scroll => ImGuiKey.ScrollLock,
Keys.LeftShift or Keys.RightShift => ImGuiKey.ModShift,
Keys.LeftControl or Keys.RightControl => ImGuiKey.ModCtrl,
Keys.LeftAlt or Keys.RightAlt => ImGuiKey.ModAlt,
Keys.LeftShift => ImGuiKey.ModShift,
Keys.LeftControl => ImGuiKey.ModCtrl,
Keys.LeftAlt => ImGuiKey.ModAlt,
Keys.OemSemicolon => ImGuiKey.Semicolon,
Keys.OemPlus => ImGuiKey.Equal,
Keys.OemComma => ImGuiKey.Comma,
Expand Down

0 comments on commit ff1a097

Please sign in to comment.