chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
603d7aa
)
script: multigrab even when the piece is held already
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Jun 2022 21:24:46 +0000
(22:24 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Jun 2022 21:38:31 +0000
(22:38 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index 998ba2902573e07cc2573be4d4564e671126bdc5..a01b19df483ef870ed60fa2f7653c34af12a8143 100644
(file)
--- 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;