fix p5 drawing command conversion

Former-commit-id: 50da642758
This commit is contained in:
Scott Richmond 2025-07-05 17:38:40 -04:00
parent 7a435d3970
commit 0057c270db

View File

@ -565,8 +565,8 @@ export function p5 (commands) {
}
p5_calls[0] = ["background", ...resolve_color(background_color)]
p5_render_turtle(states[states.length - 1], p5_calls)
p5_calls.push(["pop"])
}
p5_calls.push(["pop"])
return p5_calls
}