add(Scrollable): init function with corresponding usages
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 42s

This commit is contained in:
2025-03-29 21:21:23 +01:00
parent 0b7d032b11
commit 962a384ecf
8 changed files with 17 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ pub fn main() !void {
}, .{}));
defer box.deinit();
var scrollable: App.Scrollable = .{ .container = box };
var scrollable: App.Scrollable = .init(box);
var container = try App.Container.init(allocator, .{
.layout = .{