From c8c75ca8612c65f9856fe5a672efd74d845b39d3 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Thu, 28 May 2026 21:10:20 -0400 Subject: fix window resize grabbers --- teensy/teensy_ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'teensy/teensy_ui.c') diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 5913005..54b846e 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -425,16 +425,16 @@ bool tyui_begin_window_ex(tyui_Window_Conf conf, bool *closed_ptr) if (resizing_x) { ty_Recti right_bar = ty_recti( - win->rect.x + win->rect.w - 1, 0, - 1, win->rect.y + win->rect.h + win->rect.x + win->rect.w - 1, win->rect.y, + 1, win->rect.h ); rect_cmd(right_bar, tyui.style.win_title); } if (resizing_y) { ty_Recti bot_bar = ty_recti( - 0, win->rect.y + win->rect.h - 1, - win->rect.x + win->rect.w, 1 + win->rect.x, win->rect.y + win->rect.h - 1, + win->rect.w, 1 ); rect_cmd(bot_bar, tyui.style.win_title); } -- cgit v1.3-2-g0d8e