mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
Fix bug in 'play'.
Former-commit-id: 5aa506a6c5db207e3731ba0eb19c8c38e462051a
This commit is contained in:
parent
cbfb95f9be
commit
8817f255a5
4 changed files with 37 additions and 1 deletions
12
examples/bug_play3.hs
Executable file
12
examples/bug_play3.hs
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env stack
|
||||
-- stack runghc --package reanimate
|
||||
module Main(main) where
|
||||
|
||||
import Reanimate
|
||||
import Reanimate.Scene
|
||||
|
||||
-- This should give rect.
|
||||
main :: IO ()
|
||||
main = reanimate $ signalA (constantS 1) $ sceneAnimation $ do
|
||||
play $ animate $ const $ mkCircle 1
|
||||
play $ animate $ const $ mkRect 1 1
|
||||
Loading…
Reference in a new issue