aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-resizer.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-12-28 22:30:12 -0500
committerGitHub <noreply@github.com>2023-12-29 03:30:12 +0000
commitc13ee62b84693346e28741d7f016c6700a2c27d4 (patch)
tree2cf4d708c31ccd9f2c4fe06b4b43b7fbccd0b635 /ext/js/display/display-resizer.js
parent39eeed805044388591bdb45a790414495a7bf321 (diff)
Add explicit passive option to touchstart event (#480)
Diffstat (limited to 'ext/js/display/display-resizer.js')
-rw-r--r--ext/js/display/display-resizer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display-resizer.js b/ext/js/display/display-resizer.js
index 8ce7e91a..794398b8 100644
--- a/ext/js/display/display-resizer.js
+++ b/ext/js/display/display-resizer.js
@@ -45,7 +45,7 @@ export class DisplayResizer {
if (this._handle === null) { return; }
this._handle.addEventListener('mousedown', this._onFrameResizerMouseDown.bind(this), false);
- this._handle.addEventListener('touchstart', this._onFrameResizerTouchStart.bind(this), false);
+ this._handle.addEventListener('touchstart', this._onFrameResizerTouchStart.bind(this), {passive: false, capture: false});
}
// Private