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

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

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ watch(
) )
const lang = computed(() => { const lang = computed(() => {
if (props.language === "python") { if (props.language === "python" || props.language === "turtle") {
return python() return python()
} }
return cpp() return cpp()
+2
View File
@@ -54,6 +54,8 @@ function runSkulptTurtle() {
}) })
Sk.TurtleGraphics = { Sk.TurtleGraphics = {
target: canvas, target: canvas,
width: canvas.clientWidth,
height: canvas.clientHeight
} }
Sk.misceval Sk.misceval
.asyncToPromise(function () { .asyncToPromise(function () {