mirror of
https://github.com/pkdawson/imgui-godot.git
synced 2026-09-18 20:54:18 +00:00
ImGuiLayer: remove wasteful GetViewport() call
This commit is contained in:
@@ -209,7 +209,7 @@ public partial class ImGuiLayer : CanvasLayer
|
||||
{
|
||||
if (ImGuiGD.ProcessInput(e))
|
||||
{
|
||||
GetViewport().SetInputAsHandled();
|
||||
_window.SetInputAsHandled();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user