feat: toggle popups on press down

This commit is contained in:
lazytanuki 2024-08-13 19:03:34 +02:00 committed by GitHub
parent af658aa14d
commit e51ca81f7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View file

@ -194,7 +194,7 @@ impl cosmic::Application for Window {
.width(Length::Shrink)
.height(Length::Shrink),
)
.on_press(Message::TogglePopup)
.on_press_down(Message::TogglePopup)
.style(cosmic::theme::Button::AppletIcon)
.into()
}