refactor: activate panel-button applet on press down
This commit is contained in:
parent
37a60b7759
commit
5b2bc8eac1
2 changed files with 25 additions and 25 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue