From 736af385189ea6febe43a1b4077329f0a8d45a4d Mon Sep 17 00:00:00 2001 From: asrael Date: Sat, 15 Nov 2025 12:14:26 -0600 Subject: [PATCH] fix restarting an already exec'ing transition --- demo/main.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/main.fnl b/demo/main.fnl index f1244a5..916b873 100644 --- a/demo/main.fnl +++ b/demo/main.fnl @@ -19,7 +19,7 @@ (var transition-pending nil) (fn switch-demo [new-demo] - (when (not= active-demo new-demo) + (when (and (not= active-demo new-demo) (not transition)) (set transition-pending new-demo) (set transition (pxl8.transition_create :pixelate 0.5)) (pxl8.transition_set_color transition 0xFF000000)