Reset lastDragTime when condition is not met
This commit is contained in:
2 files changed
+43
-1
No files matched your search
@@ -543,6 +543,7 @@ class Draw extends PointerInteraction {
|
||||
this.downPx_ = event.pixel;
|
||||
return true;
|
||||
} else {
|
||||
this.lastDragTime_ = undefined;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user