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:
b45ac46
)
js: Handle first shift selection of count correctly
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 13 Apr 2021 23:28:42 +0000
(
00:28
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 13 Apr 2021 23:28:42 +0000
(
00:28
+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 685744a7d99d688c3da03b980b17297f4c189eca..ee78263f2c711bb10748045ea79acb7a84cb2315 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-920,7
+920,8
@@
function mouse_find_predicate(
if (i == 0) {
held = p.held;
if (held == us && !allow_for_deselect) held = null;
- } else if (held == us) {
+ }
+ if (held == us) {
// user is going to be deselecting
if (p.held != us) {
// skip ones we don't have