From f4ba30651861d2951dde7b8fac2f887f33d99a50 Mon Sep 17 00:00:00 2001 From: Aaron Muir Hamilton Date: Mon, 4 Mar 2024 09:27:46 -0500 Subject: [PATCH] Reset click count fully on mouse up. --- src/widget/raw_event.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/raw_event.rs b/src/widget/raw_event.rs index 1d3f36620..fc6cc760c 100644 --- a/src/widget/raw_event.rs +++ b/src/widget/raw_event.rs @@ -119,6 +119,7 @@ impl PointerCrusher { self.e.wheel_delta = None; self.e.buttons.remove(&button); self.e.button = Some(button); + self.e.count = 0; self.e.clone() }