diff --git a/Fushigi/ui/widgets/CourseScene.cs b/Fushigi/ui/widgets/CourseScene.cs index bbc28b16..aff30fb8 100644 --- a/Fushigi/ui/widgets/CourseScene.cs +++ b/Fushigi/ui/widgets/CourseScene.cs @@ -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();