update
Some checks failed
Deploy / build-and-deploy (push) Has been cancelled

This commit is contained in:
2025-09-16 18:08:46 +08:00
parent 4b59d1cf17
commit dea523cb15
2 changed files with 3 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ watch(
)
const lang = computed(() => {
if (props.language === "python") {
if (props.language === "python" || props.language === "turtle") {
return python()
}
return cpp()

View File

@@ -54,6 +54,8 @@ function runSkulptTurtle() {
})
Sk.TurtleGraphics = {
target: canvas,
width: canvas.clientWidth,
height: canvas.clientHeight
}
Sk.misceval
.asyncToPromise(function () {