fix restarting an already exec'ing transition in the demo
This commit is contained in:
parent
1634b1126b
commit
2c16553c17
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue