Merge pull request #9083 from ahocevar/fix-draw-condition

Reset lastDragTime when condition is not met
This commit is contained in:
Andreas Hocevar authored and GitHub committed 2018-12-31 11:24:33 +01:00
commit 06e30e8884
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;
}
}