ImGuiLayer: remove wasteful GetViewport() call

This commit is contained in:
Patrick Dawson
2022-11-27 01:22:50 +01:00
parent e577ecbea3
commit 629cc8ca9f

View File

@@ -209,7 +209,7 @@ public partial class ImGuiLayer : CanvasLayer
{
if (ImGuiGD.ProcessInput(e))
{
GetViewport().SetInputAsHandled();
_window.SetInputAsHandled();
}
}