Skip to content

Commit

Permalink
Merge pull request #164 from VagrantAI-c/development
Browse files Browse the repository at this point in the history
RELEASE
  • Loading branch information
VagrantAI-c authored Aug 8, 2023
2 parents c4bb339 + f5a5f5d commit f39a84a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class PanRecognizerService<T> {
const x = eventCoordinates?.[0] ?? this.lastX ?? null;
const startX = this.startCoordinates[0];
this.reset();
if (x === null) {
if (x === null || !this.isPanning) {

return;
}
Expand Down

0 comments on commit f39a84a

Please sign in to comment.