Skip to content

Commit

Permalink
Prepare to support expanding operations in list
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Dec 11, 2024
1 parent 3b02881 commit aff96dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions experiments/2024-12-09/src/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ impl OperationView {
pub fn selected(&self) -> &Self {
self.selected
.and_then(|selected| self.children.get(selected))
.map(|child| child.selected())
.unwrap_or(self)
}

Expand Down

0 comments on commit aff96dd

Please sign in to comment.