Very minor code cleanup in ImGuiController.

internals
Eric Mellino 6 years ago
parent bc625f6b84
commit 4050b768bb
  1. 4
      src/ImGui.NET.SampleProgram/ImGuiController.cs

@ -328,7 +328,7 @@ namespace ImGuiNET
private void UpdateImGuiInput(InputSnapshot snapshot)
{
var io = ImGui.GetIO();
ImGuiIOPtr io = ImGui.GetIO();
Vector2 mousePosition = snapshot.MousePosition;
@ -340,8 +340,6 @@ namespace ImGuiNET
float delta = snapshot.WheelDelta;
io.MouseWheel = delta;
io.MouseWheel = delta;
IReadOnlyList<char> keyCharPresses = snapshot.KeyCharPresses;
for (int i = 0; i < keyCharPresses.Count; i++)
{

Loading…
Cancel
Save