From 6aaabe32d938d45a87a5d0bb74d935b1104dc8e8 Mon Sep 17 00:00:00 2001 From: psyGamer Date: Fri, 29 Nov 2024 17:28:22 +0100 Subject: [PATCH] fix(Studio): Popup menus sometimes not opening --- Studio/CelesteStudio/Editing/Editor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Studio/CelesteStudio/Editing/Editor.cs b/Studio/CelesteStudio/Editing/Editor.cs index 0ad5c840..1d97edda 100644 --- a/Studio/CelesteStudio/Editing/Editor.cs +++ b/Studio/CelesteStudio/Editing/Editor.cs @@ -226,7 +226,7 @@ void UpdateRoomLabelIndices(int[] rowsToIgnore) { public PopupMenu? ActivePopupMenu { get => activePopupMenu; set { - if (activePopupMenu == value) { + if (activePopupMenu == value && (activePopupMenu?.Visible ?? false)) { return; }