diff options
| author | iamcheeseman <[email protected]> | 2026-05-15 07:24:04 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-15 07:24:04 -0400 |
| commit | 89f8fe88ffd98f163860dddf7703b56272f076bb (patch) | |
| tree | 6f140358b63dba618cf4e0682f17294e3001a3a3 | |
| parent | bea8415263dddc1cb892c121446194688703bf27 (diff) | |
allow ui elements in the root window
| -rw-r--r-- | teensy/teensy_ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 662c487..8a99ec9 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -188,6 +188,8 @@ void tyui_draw(void) ty_list_clear(uictx.cmds); uictx.prev_mouse_pos = ty_mouse_pos(); + + uictx.root.next_pos = ty_vec2i(2, 1); } bool tyui_begin_window_ex( |
