Fix indentation

This commit is contained in:
toasted-nutbread 2020-02-15 19:51:53 -05:00
parent 56567903a5
commit 0c8f567e6d

View File

@ -141,18 +141,18 @@ class TextScanner {
const textSourceCurrentPrevious = this.textSourceCurrent !== null ? this.textSourceCurrent.clone() : null; const textSourceCurrentPrevious = this.textSourceCurrent !== null ? this.textSourceCurrent.clone() : null;
this.searchAt(primaryTouch.clientX, primaryTouch.clientY, 'touchStart') this.searchAt(primaryTouch.clientX, primaryTouch.clientY, 'touchStart')
.then(() => { .then(() => {
if ( if (
this.textSourceCurrent === null || this.textSourceCurrent === null ||
this.textSourceCurrent.equals(textSourceCurrentPrevious) this.textSourceCurrent.equals(textSourceCurrentPrevious)
) { ) {
return; return;
} }
this.preventScroll = true; this.preventScroll = true;
this.preventNextContextMenu = true; this.preventNextContextMenu = true;
this.preventNextMouseDown = true; this.preventNextMouseDown = true;
}); });
} }
onTouchEnd(e) { onTouchEnd(e) {