summaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-05 16:03:14 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-05 16:03:14 -0800
commitefc5be4dacc69212a263eb48b79d2a729ca02958 (patch)
tree7bea29909cf6d2ee03c2ebf00ffd7e7672024a05 /ext/fg/js
parenta4dfadaa152d9f102ec692ef70659387148a654b (diff)
middle mouse button scanning1.1.0
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/driver.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index a74c1507..b37ae6bf 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -69,7 +69,7 @@ window.driver = new class {
return;
}
- if (this.options.scanning.requireShift && !e.shiftKey && !this.mouseDownMiddle) {
+ if (this.options.scanning.requireShift && !e.shiftKey && !(this.mouseDownMiddle && this.options.scanning.middleMouse)) {
return;
}