From: Ian Jackson Date: Sat, 3 Apr 2021 23:20:24 +0000 (+0100) Subject: js: special count: Cancel it after we've used it X-Git-Tag: otter-0.5.0~212 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8c8d8efab356e7fd88b00c632236ca7ef4647a9a;p=otter.git js: special count: Cancel it after we've used it Signed-off-by: Ian Jackson --- diff --git a/templates/script.ts b/templates/script.ts index 6a1f163d..d595506c 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -861,6 +861,8 @@ function drag_mousedown(e : MouseEvent, shifted: boolean) { return; } + special_count = null; + special_count_reupdate(); drag_cancel(); drag_pieces = [];