Enable context menu popups in dialog, close context menu when location changes
This commit is contained in:
parent
e1bc0abaab
commit
a6e369df0f
3 changed files with 84 additions and 13 deletions
|
|
@ -3871,7 +3871,7 @@ impl Application for App {
|
|||
);
|
||||
commands.push(self.update(Message::Surface(
|
||||
cosmic::surface::action::app_popup(
|
||||
move |app: &mut crate::App| -> SctkPopupSettings {
|
||||
move |app: &mut App| -> SctkPopupSettings {
|
||||
let anchor_rect = Rectangle {
|
||||
x: point.x as i32,
|
||||
y: point.y as i32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue