Skip to content

Commit

Permalink
Fix layer deselection when using the mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
IrishBruse committed Dec 24, 2023
1 parent 0534066 commit 53457b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Fushigi/ui/widgets/CourseScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,12 @@ void SelectPalette(string name, string palette)

if (ImGui.IsWindowFocused())
{
selectedArea = area;
if (selectedArea != area)
{
selectedArea = area;
mHasFilledLayers = false;
}
activeViewport = viewport;
mHasFilledLayers = false;
}

var topLeft = ImGui.GetCursorScreenPos();
Expand Down

0 comments on commit 53457b7

Please sign in to comment.