fix(layout): remove upper bound of while loop
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 29s

The upper loop was incorrect and therefore removed to create correct
layouts. I should be able to calculate the bound correctly, but for
now).
This commit is contained in:
2025-03-05 23:14:54 +01:00
parent e3551fa624
commit 315cd8d23e
2 changed files with 6 additions and 8 deletions

View File

@@ -94,7 +94,9 @@ pub fn Scrollable(Event: type) type {
this.size = size;
// TODO scrollbar space - depending on configuration and only if necessary?
std.log.debug("----", .{});
this.container.resize(.{}, this.size);
std.log.debug("----", .{});
this.container_size = this.container.size;
}