diff options
| author | iamcheeseman <[email protected]> | 2026-03-12 18:16:46 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-12 18:16:46 -0400 |
| commit | f5d00397e02fde75e3c63e9872ac5625bd961794 (patch) | |
| tree | 44d65f591e41632da1a3fb3eeced49e3b899e14d /src | |
| parent | 2b3245f44fecbf2e426bb28f522a24e00662c610 (diff) | |
increase ui scroll speed
Diffstat (limited to 'src')
| -rw-r--r-- | src/im.lua | 2 | ||||
| -rw-r--r-- | src/objs/room_editor.lua | 8 |
2 files changed, 2 insertions, 8 deletions
@@ -9,7 +9,7 @@ im = { text = {0.8, 0.8, 0.8}, }, padding = 1, - scroll_speed = 5, + scroll_speed = 15, slider_handle_width = 5, resize_handle_size = 5, } diff --git a/src/objs/room_editor.lua b/src/objs/room_editor.lua index baee368..70f0a86 100644 --- a/src/objs/room_editor.lua +++ b/src/objs/room_editor.lua @@ -40,14 +40,8 @@ end function room_editor_ui_sys(ent) local room_editor = ent.room_editor im.begin_window("Room Editor", 120, 5, 180, 320, {}) - -- im.layout({0.5, 0.75, 1}) im.text("Tile: " .. tostring(room_editor.tile)) - -- if im.button(" - ") then - -- tile = math.max(tile - 1, 1) - -- end - -- if im.button("+ ") then - -- tile = tile + 1 - -- end + im.separator() im.layout({0.1, 0.6, 1}) for tileset_id=1, get_tileset_count() do |
