╭ changed ────────────╮ │src/ui/Repo/Files.zig│ ╰─────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │337 break :blk frame; │ │338 }; │ │339 errdefer detail_outer.deinit(allocator); │ │340 + detail_outer.getFocus().mode = .mouse; │ │341 try box.children.put(allocator, detail_outer.getFocus().id, .{ .widget = .{ .box = detail_outer }, .rect = null, .min_size = .{ .width = detail_min_width, .height = null } });│ │342 } │ │343 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │352 fn addRow(allocator: std.mem.Allocator, box: *wgt.Box(ui.Widget), label: []const u8, link: []const u8) !void { │ │353 var row = try wgt.TextBox.init(allocator, label, .{ .border_style = .hidden, .rounded_corners = true, .wrap_kind = .none });│ │354 errdefer row.deinit(allocator); │ │354 - row.getFocus().focusable = true; │ │355 + row.getFocus().mode = .all; │ │356 if (link.len != 0) row.getFocus().kind = .{ .custom = link }; │ │357 try box.children.put(allocator, row.getFocus().id, .{ .widget = .{ .text_box = row }, .rect = null, .min_size = null }); │ │358 } │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │365 _ = self; │ │366 var tb = try wgt.TextBox.init(allocator, text, .{ .border_style = null, .wrap_kind = .none }); │ │367 errdefer tb.deinit(allocator); │ │367 - tb.getFocus().focusable = true; │ │368 + tb.getFocus().mode = .all; │ │369 if (link.len != 0) tb.getFocus().kind = .{ .custom = link }; │ │370 try box.children.put(allocator, tb.getFocus().id, .{ .widget = .{ .text_box = tb }, .rect = null, .min_size = null });│ │371 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │566 const link = try std.fmt.allocPrint(page_arena.allocator(), "a:{s}", .{try route.toUrl(page_arena)}); │ │567 var tb = try wgt.TextBox.init(allocator, label, .{ .border_style = .single, .rounded_corners = true, .wrap_kind = .none });│ │568 errdefer tb.deinit(allocator); │ │568 - tb.getFocus().focusable = true; │ │569 + tb.getFocus().mode = .all; │ │570 tb.getFocus().kind = .{ .custom = link }; │ │571 try box.children.put(allocator, tb.getFocus().id, .{ .widget = .{ .text_box = tb }, .rect = null, .min_size = null }); │ │572 } │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯