mod(container): make reposition public and split from resize
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m3s

This commit is contained in:
2025-03-13 19:48:31 +01:00
parent dddc09b4ce
commit 54af974c2b
14 changed files with 38 additions and 19 deletions

View File

@@ -121,7 +121,8 @@ pub fn expectContainerScreen(size: Point, container: *Container(event.SystemEven
defer renderer.deinit();
try renderer.resize(size);
container.resize(.{}, size);
container.resize(size);
container.reposition(.{});
try renderer.render(Container(event.SystemEvent), container);
try expectEqualCells(.{}, renderer.size, expected, renderer.screen);