This commit is contained in:
@@ -52,7 +52,7 @@ watch(
|
||||
)
|
||||
|
||||
const lang = computed(() => {
|
||||
if (props.language === "python") {
|
||||
if (props.language === "python" || props.language === "turtle") {
|
||||
return python()
|
||||
}
|
||||
return cpp()
|
||||
|
||||
@@ -54,6 +54,8 @@ function runSkulptTurtle() {
|
||||
})
|
||||
Sk.TurtleGraphics = {
|
||||
target: canvas,
|
||||
width: canvas.clientWidth,
|
||||
height: canvas.clientHeight
|
||||
}
|
||||
Sk.misceval
|
||||
.asyncToPromise(function () {
|
||||
|
||||
Reference in New Issue
Block a user