From 716ebcb275e6fd634da63dc8fa0d7b841b86b47b Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 18 Aug 2022 00:00:18 +0000 Subject: [PATCH] make right-click rotate pieces --- .../flixel-desktop-habit-puzzle-game/source/HabitState.kiss | 2 +- 1 file changed, 1 insertion(+), 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 e4216bc9..205f95f1 100644 --- a/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss +++ b/projects/flixel-desktop-habit-puzzle-game/source/HabitState.kiss @@ -88,7 +88,7 @@ // TODO provide a saner/configurable set of bindings to trigger these ui action functions { - (when FlxG.keys.justPressed.Q + (when FlxG.mouse.justPressedRight (when draggingSprite (draggingSprite.rotate 90) (doFor s (recursivelyConnectedPieces draggingSprite)