From 110c68d9a8c2b039808b6e55df558b1c0bc07383 Mon Sep 17 00:00:00 2001 From: LazyTanuki <43273245+lazytanuki@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:36:39 +0100 Subject: [PATCH] fix: use `on_press_down` to toggle time applet --- cosmic-applet-time/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmic-applet-time/src/window.rs b/cosmic-applet-time/src/window.rs index f2acedc1..acedc249 100644 --- a/cosmic-applet-time/src/window.rs +++ b/cosmic-applet-time/src/window.rs @@ -549,7 +549,7 @@ impl cosmic::Application for Window { } else { [self.core.applet.suggested_padding(true), 0] }) - .on_press(Message::TogglePopup) + .on_press_down(Message::TogglePopup) .class(cosmic::theme::Button::AppletIcon); autosize::autosize(