We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc625f6 commit 4050b76Copy full SHA for 4050b76
1 file changed
src/ImGui.NET.SampleProgram/ImGuiController.cs
@@ -328,7 +328,7 @@ private void SetPerFrameImGuiData(float deltaSeconds)
328
329
private void UpdateImGuiInput(InputSnapshot snapshot)
330
{
331
- var io = ImGui.GetIO();
+ ImGuiIOPtr io = ImGui.GetIO();
332
333
Vector2 mousePosition = snapshot.MousePosition;
334
@@ -340,8 +340,6 @@ private void UpdateImGuiInput(InputSnapshot snapshot)
340
float delta = snapshot.WheelDelta;
341
io.MouseWheel = delta;
342
343
- io.MouseWheel = delta;
344
-
345
IReadOnlyList<char> keyCharPresses = snapshot.KeyCharPresses;
346
for (int i = 0; i < keyCharPresses.Count; i++)
347
0 commit comments