Remove the ability to retrieve the view's parent
This commit is contained in:
parent
7f137ed3dd
commit
e9ed40da37
10 changed files with 22 additions and 30 deletions
|
@ -165,6 +165,7 @@ impl CollabTitlebarItem {
|
|||
}),
|
||||
);
|
||||
|
||||
let view_id = cx.view_id();
|
||||
Self {
|
||||
workspace: workspace.weak_handle(),
|
||||
project,
|
||||
|
@ -172,7 +173,7 @@ impl CollabTitlebarItem {
|
|||
client,
|
||||
contacts_popover: None,
|
||||
user_menu: cx.add_view(|cx| {
|
||||
let mut menu = ContextMenu::new(cx);
|
||||
let mut menu = ContextMenu::new(view_id, cx);
|
||||
menu.set_position_mode(OverlayPositionMode::Local);
|
||||
menu
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue