Skip to content

Commit ff1a097

Browse files
authored
Fix lagging
1 parent d0e7527 commit ff1a097

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ private bool TryMapKeys(Keys key, out ImGuiKey imguikey)
261261
>= Keys.F1 and <= Keys.F12 => ImGuiKey.F1 + (key - Keys.F1),
262262
Keys.NumLock => ImGuiKey.NumLock,
263263
Keys.Scroll => ImGuiKey.ScrollLock,
264-
Keys.LeftShift or Keys.RightShift => ImGuiKey.ModShift,
265-
Keys.LeftControl or Keys.RightControl => ImGuiKey.ModCtrl,
266-
Keys.LeftAlt or Keys.RightAlt => ImGuiKey.ModAlt,
264+
Keys.LeftShift => ImGuiKey.ModShift,
265+
Keys.LeftControl => ImGuiKey.ModCtrl,
266+
Keys.LeftAlt => ImGuiKey.ModAlt,
267267
Keys.OemSemicolon => ImGuiKey.Semicolon,
268268
Keys.OemPlus => ImGuiKey.Equal,
269269
Keys.OemComma => ImGuiKey.Comma,

0 commit comments

Comments
 (0)