╭ changed ─────────────╮ │src/ui/Repo/Events.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │380 } │ │381 content_stack.getFocus().child_id = content_stack.children.keys()[@intFromEnum(data.view)]; │ │382 try outer.children.put(allocator, content_stack.getFocus().id, .{ .widget = .{ .stack = content_stack }, .rect = null, .min_size = null });│ │383 - outer.getFocus().child_id = outer.children.keys()[header_index]; │ │383 + outer.getFocus().child_id = outer.children.keys()[content_index]; │ │384 return .{ .box = outer, .data = data, .session = session, .detailed_index = .{ null, null } }; │ │385 } │ │386 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────╮ │572 │ │573 pub fn atTop(self: *View) bool { │ │574 return self.headerActive(); │ │575 + } │ │576 + │ │577 + // arriving from the page's tabs lands on the sub header, not the content│ │578 + pub fn focusHeader(self: *View, root_focus: *Focus) bool { │ │579 + self.header().focusCurrent(root_focus); │ │580 + return true; │ │581 } │ │582 │ │583 pub fn clearGrid(self: *View) void { │ ╰──────────────────────────────────────────────────────────────────────────────────╯