make the R key rotate pieces again. close #117

This commit is contained in:
2022-10-06 17:36:47 +00:00
parent 02b7e306a6
commit f867fea3a0

View File

@@ -119,7 +119,7 @@
{
(unless (windowIsShown)
(when FlxG.mouse.justPressedRight
(when (or FlxG.mouse.justPressedRight FlxG.keys.justPressed.R)
(when draggingSprite
(draggingSprite.rotate 90)
(doFor s (recursivelyConnectedPieces draggingSprite)