╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ 97 data: *const Self, │ │ 98 │ │ 99 pub fn init(allocator: std.mem.Allocator, data: *const Self, session: *ui.Session) !View { │ │100 - var box = wgt.Box(ui.Widget).init(.{ .border_style = null, .direction = .vert }); │ │100 + var box = try wgt.Box(ui.Widget).init(allocator, .{ .border_style = null, .direction = .vert });│ │101 errdefer box.deinit(allocator); │ │102 │ │103 // labels and link kinds are borrowed by the rows, so they live in the │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │113 } │ │114 if (box.children.count() > 0) box.getFocus().child_id = box.children.keys()[0]; │ │115 │ │116 - var scroll = try wgt.Scroll(ui.Widget).init(allocator, .{ .box = box }, .vert); │ │116 + var scroll = try wgt.Scroll(ui.Widget).init(allocator, .{ .box = box }, .{ .direction = .vert });│ │117 errdefer scroll.deinit(allocator); │ │118 return .{ .scroll = scroll, .data = data }; │ │119 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────╯