aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_ui.c
diff options
context:
space:
mode:
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(