From 7026acf2c3e88af74c4790a887b5e1b89071c812 Mon Sep 17 00:00:00 2001 From: Mark Benson Date: Sat, 1 Mar 2025 13:25:52 +0000 Subject: [PATCH] No clicks, no drop! --- .../src/main/java/VASSAL/build/module/map/PieceMover.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vassal-app/src/main/java/VASSAL/build/module/map/PieceMover.java b/vassal-app/src/main/java/VASSAL/build/module/map/PieceMover.java index 7b54c7721a..de16e60b7b 100644 --- a/vassal-app/src/main/java/VASSAL/build/module/map/PieceMover.java +++ b/vassal-app/src/main/java/VASSAL/build/module/map/PieceMover.java @@ -1298,7 +1298,7 @@ protected boolean canHandleEvent(MouseEvent e) { return !e.isConsumed() && !e.isShiftDown() && !SwingUtils.isSelectionToggle(e) && - e.getClickCount() < 2 && + e.getClickCount() == 1 && // Previously also allowed a clickCount of zero here, causing https://github.com/vassalengine/vassal/issues/12480 (e.getButton() == MouseEvent.NOBUTTON || SwingUtils.isMainMouseButtonDown(e)); }