diff options
Diffstat (limited to 'teensy/teensy_ui.c')
| -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); } |
