From 20512bcd7a3bfa0c5cb9ba917592662163ef1a3e Mon Sep 17 00:00:00 2001 From: cpsdqs Date: Sat, 30 Sep 2017 00:33:20 +0200 Subject: [PATCH] Ignore taps if clicking is enabled --- js/term/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/term/screen.js b/js/term/screen.js index 91baf3f..8cb0161 100644 --- a/js/term/screen.js +++ b/js/term/screen.js @@ -220,7 +220,7 @@ module.exports = class TermScreen extends EventEmitter { selectionPos[1]}px)` } - if (!touchDidMove) { + if (!touchDidMove && !this.mouseMode.clicks) { this.emit('tap', Object.assign(e, { x: touchPosition[0], y: touchPosition[1]