aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_ui.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-21 22:31:19 -0400
committeriamcheeseman <[email protected]>2026-05-21 22:31:19 -0400
commit8a95ba3d2d3bb93abc29bf0b4a877d2658ebdb36 (patch)
tree2d0766e7c51574e54b7f101150b81222bf329709 /teensy/teensy_ui.c
parent67299984df3d5dc67b2092180b88b2622c07e877 (diff)
increase default allocation for commands
Diffstat (limited to 'teensy/teensy_ui.c')
-rw-r--r--teensy/teensy_ui.c2
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;
}