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
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user