diff options
author | pommicket <pommicket@gmail.com> | 2023-08-05 22:32:24 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-05 22:32:24 -0400 |
commit | 93023da1f9ed1e40d4e4317d20dbf8398017eee7 (patch) | |
tree | 365204b8560d8e03d0487c0428dac0c88e47c9cd /main.c | |
parent | 61fcf4a14199486cc8bd7538ca236ac8fb93c0bb (diff) |
start dynamic menus
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ static Rect message_box_rect(Ted *ted) { float window_width = ted->window_width, window_height = ted->window_height; float char_height = text_font_char_height(font); return rect_centered(Vec2(window_width * 0.5f, window_height * 0.9f), - Vec2(menu_get_width(ted), 3 * char_height + 2 * padding)); + Vec2(ted_get_menu_width(ted), 3 * char_height + 2 * padding)); } #if DEBUG |