From 67738543cc53cdb3bacd64a5d7c7d4dc3570bd58 Mon Sep 17 00:00:00 2001 From: Emilia Date: Sat, 20 May 2023 22:51:32 -0400 Subject: [PATCH] Fix drag issue These few lines of code are going to plague this project. Transiently, this solution doesn't seem fast enough and will "forget" that the mouse button is being held during a drag. I'm using mouseenter instead of mouseover because it should trigger less often---this ought to be more efficient(?). --- src/components/source_plate.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/source_plate.rs b/src/components/source_plate.rs index 920a60c..41b9aa5 100644 --- a/src/components/source_plate.rs +++ b/src/components/source_plate.rs @@ -68,7 +68,10 @@ fn SourcePlateCell(cx: Scope, i: u8, j: u8, color: Option