aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_ui.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-15 07:24:04 -0400
committeriamcheeseman <[email protected]>2026-05-15 07:24:04 -0400
commit89f8fe88ffd98f163860dddf7703b56272f076bb (patch)
tree6f140358b63dba618cf4e0682f17294e3001a3a3 /teensy/teensy_ui.c
parentbea8415263dddc1cb892c121446194688703bf27 (diff)
allow ui elements in the root window
Diffstat (limited to 'teensy/teensy_ui.c')
-rw-r--r--teensy/teensy_ui.c2
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(