╭ changed ──────────────────╮ │src/ui/Home/Auth/Logout.zig│ ╰───────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────╮ │47 button.getFocus().focusable = true; │ │48 // the renderer distinguishes plain clickables from buttons that│ │49 // should POST to a server route by this kind. │ │50 - button.getFocus().kind = .submit_button; │ │50 + button.getFocus().kind = .{ .custom = "submit" }; │ │51 button_id = button.getFocus().id; │ │52 try box.children.put(allocator, button.getFocus().id, .{ │ │53 .widget = .{ .text_box = button }, │ ╰────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │72 } │ │73 │ │74 pub fn build(self: *View, allocator: std.mem.Allocator, constraint: layout.Constraint, root_focus: *Focus) !void {│ │75 - const box = &self.center.child.box; │ │76 - const button = &box.children.values()[button_index].widget.text_box; │ │77 - button.options.border_style = if (root_focus.grandchild_id == self.button_id) │ │78 - .double │ │79 - else │ │80 - .single; │ │75 try self.center.build(allocator, constraint, root_focus); │ │76 } │ │77 │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯