simplified if statement back to single line
This commit is contained in:
parent
3d28a3a405
commit
834f14e808
@ -297,10 +297,7 @@ class Frontend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async searchAt(point, type) {
|
async searchAt(point, type) {
|
||||||
if (
|
if (this.pendingLookup || await this.popup.containsPoint(point)) {
|
||||||
this.pendingLookup ||
|
|
||||||
await this.popup.containsPoint(point)
|
|
||||||
) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user