Fix indentation
This commit is contained in:
parent
56567903a5
commit
0c8f567e6d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user