diff options
| author | iamcheeseman <[email protected]> | 2026-05-21 22:31:19 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-21 22:31:19 -0400 |
| commit | 8a95ba3d2d3bb93abc29bf0b4a877d2658ebdb36 (patch) | |
| tree | 2d0766e7c51574e54b7f101150b81222bf329709 | |
| parent | 67299984df3d5dc67b2092180b88b2622c07e877 (diff) | |
increase default allocation for commands
| -rw-r--r-- | teensy/teensy_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 04f0b95..b056a9c 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -227,7 +227,7 @@ Window create_window(const char *title, ty_Recti rect, uint32_t flags) win.rect = rect; win.flags = flags; win.cmds = ty_list_create(); - ty_list_reserve(win.cmds, 32); + ty_list_reserve(win.cmds, 64); return win; } |
