╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────╮ │787 if (crossPageLink(root_focus, focus_id, session.data.current_page)) |route| {│ │788 return session.navigate(route); │ │789 } │ │790 - try root_focus.setFocus(focus_id); │ │790 + root_focus.setFocus(focus_id); │ │791 } │ │792 // forward the press into the widget tree so buttons (and any │ │793 // future click-aware widgets) can react. widgets that don't │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────╮ │901 while (iter.next()) |entry| { │ │902 switch (entry.value_ptr.focus.kind) { │ │903 .custom => |custom| if (std.mem.eql(u8, custom, Quit.tab_kind)) {│ │904 - try root_focus.setFocus(entry.key_ptr.*); │ │904 + root_focus.setFocus(entry.key_ptr.*); │ │905 // a Stack only builds its selected child, so the quit │ │906 // button isn't in the focus tree until a build runs with │ │907 // the quit tab selected. build once, then send a │ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────╮ │990 .min_size = .{ .width = null, .height = 40 },│ │991 .max_size = .{ .width = 80, .height = null },│ │992 }, root.getFocus()); │ │993 - if (root.getFocus().child_id) |child_id| { │ │994 - try root.getFocus().setFocus(child_id); │ │995 - } │ │993 │ │994 return root; │ │995 } │ ╰──────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────╮ │1305 } │ │1306 │ │1307 if (index != current_index) { │ │1311 - try root_focus.setFocus(in.text_boxes.items[index].getFocus().id);│ │1308 + root_focus.setFocus(in.text_boxes.items[index].getFocus().id); │ │1309 if (in.cellRect(index)) |rect| { │ │1310 self.scroll.scrollToRect(rect); │ │1311 } │ ╰────────────────────────────────────────────────────────────────────────────────────────╯