From d3bed60fb901d048efab3b14bb651c9fe4fed8c2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 19 Jun 2022 22:24:46 +0100 Subject: [PATCH] script: multigrab even when the piece is held already Signed-off-by: Ian Jackson --- templates/script.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/script.ts b/templates/script.ts index 998ba290..a01b19df 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -1244,7 +1244,7 @@ function mouseclick_core(c: MouseFoundClicked, shifted: boolean, let multigrab = c.multigrab; drag_pieces = []; - if (held == us) { + if (held == us && multigrab == null) { if (shifted) { ungrab_clicked(clicked); return; -- 2.30.2