From 0b67ca3281b703a24ccc802dceba2263174b20e2 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 9f6bf4e4..e5336470 100644 --- a/cosmic-applet-time/src/window.rs +++ b/cosmic-applet-time/src/window.rs @@ -550,7 +550,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(