Add a way to use splits when opening in file finder (#20507)

This commit is contained in:
Kirill Bulatov
2024-11-13 11:58:42 +01:00
committed by GitHub
parent 90ffd65a10
commit 56cf32cb91
5 changed files with 191 additions and 16 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ impl<M: ManagedView> PopoverMenuHandle<M> {
.map_or(false, |state| state.menu.borrow().as_ref().is_some())
}
pub fn is_focused(&self, cx: &mut WindowContext) -> bool {
pub fn is_focused(&self, cx: &WindowContext) -> bool {
self.0.borrow().as_ref().map_or(false, |state| {
state
.menu