aboutsummaryrefslogtreecommitdiff
path: root/src/scenes/speck_editor.lua
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-04-02 12:30:50 +0200
committerne_mene <[email protected]>2026-04-02 12:30:50 +0200
commit474f1fcc62c67667d83895cb7cd34fa30c166a0d (patch)
tree5d156e02987ad5cb15f3dafcd5cf2fbf4b898bea /src/scenes/speck_editor.lua
parentedb6d24b0d4f4aeb513b6d77e53113325622fd71 (diff)
speck editor: layout fix, wider
Diffstat (limited to 'src/scenes/speck_editor.lua')
-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])]