Skip to content

Commit

Permalink
nit: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovias committed Nov 7, 2024
1 parent d2f6d5d commit 9bd4b16
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/wm/src/containers/traits/common_getters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,6 @@ pub trait CommonGetters {
.chain(end_ancestor.clone())
.all(|ancestor| ancestor.focus_index() == 0)
}

fn focused_container(&self) -> Option<Container> {
self.child_by_id(self.borrow_child_focus_order().iter().next().unwrap())
}
}

/// An iterator over ancestors of a given container.
Expand Down

0 comments on commit 9bd4b16

Please sign in to comment.