aboutsummaryrefslogtreecommitdiff
path: root/src/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenes')
-rw-r--r--src/scenes/speck_editor.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scenes/speck_editor.lua b/src/scenes/speck_editor.lua
index 309389c..573914e 100644
--- a/src/scenes/speck_editor.lua
+++ b/src/scenes/speck_editor.lua
@@ -54,6 +54,7 @@ local PROPERTY_TYPES = {
im.layout({0.25, 1})
im.text(name)
im.text(value)
+ im.layout()
return value
end,
}
@@ -65,7 +66,7 @@ end
local function speck_editor_ui_sys(editor)
local system = editor.speck_sys
- im.begin_window("Speck Editor", 5, 5, 256, 1024, {})
+ im.begin_window("Speck Editor", 5, 5, 400, 1024, {})
im.text("Properties:")
for _, prop in ipairs(SPECK_EXPORTED_ARGS) do
local func = PROPERTY_TYPES[type(system[prop])]