mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
update editor & rename 'model' property to 'src'
This commit is contained in:
parent
4333d9ab06
commit
4ff42b94c3
6 changed files with 86 additions and 47 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue