fix: make overflow button and status area buttons popup on press down instead of on press
leftovers from #568
This commit is contained in:
parent
bd5ac8a5bb
commit
b41f30e1a1
2 changed files with 2 additions and 2 deletions
|
|
@ -262,7 +262,7 @@ impl cosmic::Application for Minimize {
|
|||
.core
|
||||
.applet
|
||||
.icon_button(icon)
|
||||
.on_press(Message::OpenOverflowPopup);
|
||||
.on_press_down(Message::OpenOverflowPopup);
|
||||
|
||||
Some(btn.into())
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ impl cosmic::Application for App {
|
|||
.icon_button_from_handle(icon.clone().symbolic(true)),
|
||||
_ => self.core.applet.icon_button(menu.icon_name()),
|
||||
}
|
||||
.on_press(Msg::TogglePopup(*id)),
|
||||
.on_press_down(Msg::TogglePopup(*id)),
|
||||
)
|
||||
.on_mouse_enter(Msg::Hovered(*id))
|
||||
.into()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue