╭ changed ─────────────╮ │src/ui/Repo/Events.zig│ ╰──────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │600 } else switch (key) { │ │601 .arrow_right => if (self.detailBox().children.count() > 0) self.focusDetail(root_focus), │ │602 .enter => if (self.selectedEventIndex() != null) self.focusDetail(root_focus), │ │603 + // when the window is too narrow to lay out the detail pane beside │ │604 + // the list, a click on a row opens it like enter. the row was just │ │605 + // selected, so the detail is swapped to it ahead of the build. │ │606 + .mouse => |mouse| if (self.selectedEventIndex() != null and self.content().children.values()[detail_index].rect == null and ui.widget.clickOnSelectedRow(self.listBox(), root_focus, mouse)) {│ │607 + try self.refreshDetail(allocator); │ │608 + self.focusDetail(root_focus); │ │609 + }, │ │610 else => {}, │ │611 } │ │612 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭ changed ───────────╮ │src/ui/Repo/Undo.zig│ ╰────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │635 ui.widget.moveRowFocus(&self.listScroll().child.box, self.listScroll(), root_focus, delta); │ │636 } else switch (key) { │ │637 .arrow_right, .enter => if (self.selected() != null) self.focusDetail(root_focus), │ │638 + // when the window is too narrow to lay out the detail pane beside │ │639 + // the list, a click on a row opens it like enter. the detail was │ │640 + // swapped to the just-selected row above. │ │641 + .mouse => |mouse| if (self.selected() != null and self.contentBox().children.values()[1].rect == null and ui.widget.clickOnSelectedRow(&self.listScroll().child.box, root_focus, mouse)) {│ │642 + self.focusDetail(root_focus); │ │643 + }, │ │644 else => {}, │ │645 } │ │646 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯