Add simple wipe effect for undo.

This commit is contained in:
David Thompson 2024-05-23 12:06:42 -04:00
parent 98ae464ab9
commit aa8a302fcb
2 changed files with 12 additions and 4 deletions

View file

@ -108,7 +108,8 @@
((snapshot . older-snapshots)
(set! *actormap* snapshot)
(set! *snapshots* older-snapshots)
(play-sound-effect audio:undo))))
(play-sound-effect audio:undo)
(show-effect! (make-wipe-effect 0.25)))))
(define (sort lst compare)
(match lst