Reset lastDragTime when condition is not met

This commit is contained in:
ahocevar committed 2018-12-21 22:26:05 +01:00
1 parent 100e69e286
commit 409c962caf
2 files changed
+43 -1

No files matched your search

+1
View File
@@ -543,6 +543,7 @@ class Draw extends PointerInteraction {
this.downPx_ = event.pixel;
return true;
} else {
this.lastDragTime_ = undefined;
return false;
}
}