diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-02-05 11:41:19 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-02-05 11:41:19 -0700 |
commit | b2604a6edb93897ac3ee888aa3c0e0d216f989ed (patch) | |
tree | 3de6665bfb371097e78ffd3c1318e25eaa7ee1fb /src/scenes | |
parent | 7d822f2ba2359e87d65c08a5a2a10e242e246b76 (diff) | |
download | compiling-the-lambda-calculus-b2604a6edb93897ac3ee888aa3c0e0d216f989ed.tar.gz compiling-the-lambda-calculus-b2604a6edb93897ac3ee888aa3c0e0d216f989ed.zip |
add more script
Diffstat (limited to 'src/scenes')
-rw-r--r-- | src/scenes/flirtingwithfunctions.tsx | 4 | ||||
-rw-r--r-- | src/scenes/index.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/scenes/flirtingwithfunctions.tsx b/src/scenes/flirtingwithfunctions.tsx index ede0df9..f833ce9 100644 --- a/src/scenes/flirtingwithfunctions.tsx +++ b/src/scenes/flirtingwithfunctions.tsx @@ -20,8 +20,8 @@ export default makeScene2D(function* (view) { view.add(<Video width={300} ref={vid} src={sad} x={0} />); view.add(<Img width={200} ref={img} src={emacsmac} x={startX} />); - vid().loop(true); - vid().play(); + yield vid().play(); + yield vid().loop(true); yield* beginSlide("No Valentine"); diff --git a/src/scenes/index.ts b/src/scenes/index.ts index 098563b..7ed001e 100644 --- a/src/scenes/index.ts +++ b/src/scenes/index.ts @@ -3,4 +3,4 @@ import me from "./me?scene"; import partone from "./partone?scene"; import flirtingwithfunctions from "./flirtingwithfunctions?scene"; -export const scenes = [flirtingwithfunctions, title, me, partone]; +export const scenes = [title, me, partone, flirtingwithfunctions]; |