Skip to content

Commit

Permalink
Fix arrow keys in viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
KillzXGaming committed Nov 21, 2023
1 parent 8da9e18 commit e692abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fushigi/ui/widgets/CourseScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand All @@ -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())
{
Expand Down

0 comments on commit e692abe

Please sign in to comment.