diff --git a/crates/warpui_core/src/core/window.rs b/crates/warpui_core/src/core/window.rs index b1824b9df3..fc61d7086f 100644 --- a/crates/warpui_core/src/core/window.rs +++ b/crates/warpui_core/src/core/window.rs @@ -170,6 +170,14 @@ impl StoredView { } } + pub fn child_view_ids(&self, app: &AppContext) -> Vec { + match self { + StoredView::Gui(view) => view.child_view_ids(app), + #[cfg(feature = "tui")] + StoredView::Tui(_) => Vec::new(), + } + } + pub fn self_or_child_interacted_with( &self, app: &mut AppContext,