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:
3f190c1
)
js: Tiny reformat
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 12 Apr 2021 18:27:44 +0000
(19:27 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 12 Apr 2021 18:27:44 +0000
(19:27 +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 754c666f888804cac7574fe2a53415ca27103300..64c77fa085226718e4d4ccc9850b235d26ed764f 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-906,8
+906,7
@@
function mouse_find_clicked(e: MouseEvent, target: SVGGraphicsElement,
return mouse_clicked_one(piece);
} else if (special_count == 0) {
return mouse_find_lowest(e);
- } else {
- // special_count > 0
+ } else { // special_count > 0
let clickpos = mouseevent_pos(e);
return mouse_find_predicate(
special_count,