Update libcosmic
This commit is contained in:
parent
9b22c8f9ed
commit
65d61f5565
2 changed files with 19 additions and 18 deletions
|
|
@ -1136,8 +1136,9 @@ impl Tab {
|
|||
}
|
||||
let mut popover = widget::popover(mouse_area);
|
||||
if let Some(point) = self.context_menu {
|
||||
let rounded = Point::new(point.x.round(), point.y.round());
|
||||
popover = popover.popup(menu::context_menu(&self)).position(rounded);
|
||||
popover = popover
|
||||
.popup(menu::context_menu(&self))
|
||||
.position(widget::popover::Position::Point(point));
|
||||
}
|
||||
widget::container(widget::column::with_children(vec![
|
||||
location_view,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue