Enable context menu popups in dialog, close context menu when location changes

This commit is contained in:
Jeremy Soller 2025-07-24 11:34:41 -06:00
parent e1bc0abaab
commit a6e369df0f
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA
3 changed files with 84 additions and 13 deletions

View file

@ -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,