From ed7dfaad432b6e3fe838b9a2b5fe225abea5365d Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Tue, 26 May 2026 15:35:13 -0400 Subject: tbh i did a lot --- teensy/teensy_ui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'teensy/teensy_ui.c') diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 45bdda3..3e10614 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -252,7 +252,10 @@ void tyui_init(const ty_Font *font) root_flags |= TYUI_WIN_NOMOVE; root_flags |= TYUI_WIN_INVISIBLE; - tyui.root = create_window(ty_recti(0, 0, 256, 256), root_flags); + tyui.root = create_window( + ty_recti(0, 0, ctx.hints.scr_width, ctx.hints.scr_height), + root_flags + ); tyui.style = default_style; tyui.font = font; -- cgit v1.3-2-g0d8e