Reset lastDragTime when condition is not met
This commit is contained in:
@@ -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