mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-11 16:12:20 +00:00
Use V2 instead of tuples and rename 'sceneAnimation' to 'scene'. (#165)
This commit is contained in:
parent
ff880e7296
commit
d37e71ca94
68 changed files with 140 additions and 214 deletions
|
|
@ -6,7 +6,7 @@ import Reanimate
|
|||
import Reanimate.Builtin.Documentation
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ docEnv $ sceneAnimation $ do
|
||||
main = reanimate $ docEnv $ scene $ do
|
||||
s <- newSpriteSVG $ withFillOpacity 1 $ mkCircle 1
|
||||
fork $ wait 1 >> destroySprite s
|
||||
play drawBox
|
||||
|
|
|
|||
Loading…
Reference in a new issue