From 89f8fe88ffd98f163860dddf7703b56272f076bb Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Fri, 15 May 2026 07:24:04 -0400 Subject: allow ui elements in the root window --- teensy/teensy_ui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'teensy') 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( -- cgit v1.3-2-g0d8e