update editor & rename 'model' property to 'src'

This commit is contained in:
MihailRis
2025-06-01 23:09:59 +03:00
parent 4333d9ab06
commit 4ff42b94c3
6 changed files with 86 additions and 47 deletions
+2
View File
@@ -104,8 +104,10 @@ function set_mode(mode)
if mode == 'debug' then
document.root.color = {16, 18, 20, 220}
document.editorRoot.src = "core:code_editor"
else
document.root.color = {0, 0, 0, 128}
document.editorRoot.src = ""
end
document.prompt.visible = show_prompt