diff options
| author | iamcheeseman <[email protected]> | 2026-05-28 21:10:20 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-28 21:10:20 -0400 |
| commit | c8c75ca8612c65f9856fe5a672efd74d845b39d3 (patch) | |
| tree | 56075e686035c53ede79f069392ce2dba1482da1 | |
| parent | 46bec493a280d05215882900352ea8b7766f8500 (diff) | |
fix window resize grabbers
| -rw-r--r-- | teensy/teensy_ui.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |
