From 42856116ef958ffdb22fe3156bcf112501b880ae Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 25 Sep 2022 17:46:43 +0000 Subject: [PATCH] Close #132 --- .../flixel-desktop-habit-puzzle-game/source/HabitState.kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss index c2d8c1c4..db1cc99b 100644 --- a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss +++ b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss @@ -329,7 +329,8 @@ ->_ (defAndCall method choosePriorities (entryWindow.hide) - (let [pw (SimpleWindow.promptForChoice "Choose your top priorities. A ! will appear in front of them" + (let [cameraColumn (when priorityWindow priorityWindow.cameraColumn) + pw (SimpleWindow.promptForChoice "Choose your top priorities. A ! will appear in front of them" (model.allUndeletedEntries) ->:Void [:Entry e] { (model.toggleEntryPriority e) @@ -342,6 +343,7 @@ }) } null null FlxColor.WHITE 0.9 0.9 true (defAndReturn prop xKey "escape") backToEntryWindow true)] + (pw.show cameraColumn) (set priorityWindow pw)))) (_makeText "Edit a habit or task's labels" 0