This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user