fix p5 call snafu

This commit is contained in:
Scott Richmond 2024-10-20 14:22:14 -04:00
parent ca1a026980
commit 8d98f3e2b4

View File

@ -357,7 +357,7 @@ export function p5 (commands) {
for (const call of calls) {
p5_calls.push(call)
}
p5_calls.push("pop")
p5_calls.push(["pop"])
}
p5_calls[0] = ["background", ...resolve_color(background_color)]
p5_render_turtle(states[states.length - 1], p5_calls)