ref(container): split size and position calculations
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 34s

This commit is contained in:
2025-03-04 19:53:28 +01:00
parent 65d7546efd
commit fc72cf4abb
14 changed files with 205 additions and 180 deletions

View File

@@ -156,8 +156,7 @@ pub fn main() !void {
}
try renderer.resize();
container.reposition(.{});
container.resize(renderer.size);
container.resize(.{}, renderer.size);
try renderer.render(@TypeOf(container), &container);
try renderer.flush();
}