Ignore taps if clicking is enabled

box-drawing
cpsdqs 7 years ago
parent bf7863b8fa
commit 20512bcd7a
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 2
      js/term/screen.js

@ -220,7 +220,7 @@ module.exports = class TermScreen extends EventEmitter {
selectionPos[1]}px)` selectionPos[1]}px)`
} }
if (!touchDidMove) { if (!touchDidMove && !this.mouseMode.clicks) {
this.emit('tap', Object.assign(e, { this.emit('tap', Object.assign(e, {
x: touchPosition[0], x: touchPosition[0],
y: touchPosition[1] y: touchPosition[1]

Loading…
Cancel
Save