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