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

@ -423,7 +423,7 @@ impl cosmic::Application for Window {
} else {
[self.core.applet.suggested_padding(true), 0]
})
.on_press(Message::TogglePopup)
.on_press_down(Message::TogglePopup)
.style(cosmic::theme::Button::AppletIcon);
if let Some(tracker) = self.rectangle_tracker.as_ref() {