Skip to content

Commit

Permalink
Merge pull request #103 from IrishBruseForks/fix-layer-visable-bug
Browse files Browse the repository at this point in the history
Fix layer visibility when using the mouse
  • Loading branch information
jupahe64 authored Jan 3, 2024
2 parents 91f6a61 + 53457b7 commit 701f280
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 @@ -301,9 +301,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 701f280

Please sign in to comment.