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:
d3cbcb6
)
script: Add a couple of debugs
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Jun 2022 21:08:13 +0000
(22:08 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Jun 2022 21:10:57 +0000
(22:10 +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 d01ff8e0867f4da36fd977b46d8ffcd28073e36d..f22bda64a03bc65be930e56c1c2cec40b6445571 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-1196,10
+1196,12
@@
function drag_mousedown(e : MouseEvent, shifted: boolean) {
if (treat_as_pinned(p!)) {
rectsel_started_on_whynot = pinned_message_for_log(p!);
piece = undefined;
+ console.log('mousedown pinned');
}
}
if (!piece) {
+ console.log('mousedown rectsel');
rectsel_start = mouseevent_pos(e);
rectsel_shifted = shifted;
window.addEventListener('mousemove', rectsel_mousemove, true);