From e692abea09fcf602e7024246e76ee3b20634bd8d Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Tue, 21 Nov 2023 16:27:29 -0500 Subject: [PATCH] Fix arrow keys in viewport --- Fushigi/ui/widgets/CourseScene.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Fushigi/ui/widgets/CourseScene.cs b/Fushigi/ui/widgets/CourseScene.cs index 3ae5c211..ceb46604 100644 --- a/Fushigi/ui/widgets/CourseScene.cs +++ b/Fushigi/ui/widgets/CourseScene.cs @@ -183,7 +183,7 @@ public void DrawUI(GL gl, double deltaSeconds) ulong selectionVersionBefore = areaScenes[selectedArea].EditContext.SelectionVersion; - bool status = ImGui.Begin("Viewports"); + bool status = ImGui.Begin("Viewports", ImGuiWindowFlags.NoNavFocus); ImGui.DockSpace(0x100, ImGui.GetContentRegionAvail()); @@ -194,7 +194,7 @@ public void DrawUI(GL gl, double deltaSeconds) ImGui.SetNextWindowDockID(0x100, ImGuiCond.Once); - if (ImGui.Begin(area.GetName())) + if (ImGui.Begin(area.GetName(), ImGuiWindowFlags.NoNavFocus)) { if (ImGui.IsWindowFocused()) {