refactor: activate panel-button applet on press down

This commit is contained in:
Ashley Wulber 2024-05-17 21:59:20 -04:00 committed by Michael Murphy
parent 37a60b7759
commit 5b2bc8eac1
2 changed files with 25 additions and 25 deletions

View file

@ -122,7 +122,7 @@ impl cosmic::Application for Button {
.padding([0, self.core.applet.suggested_padding(false)])
.style(cosmic::theme::Button::AppletIcon)
}
.on_press(Msg::Press)
.on_press_down(Msg::Press)
.into()
}