mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 15:56:56 +02:00
Fixed chrome selection bug (fixes #2151)
This commit is contained in:
@@ -91,6 +91,9 @@ iD.behavior.drag = function() {
|
||||
var p = point(),
|
||||
dx = p[0] - origin_[0],
|
||||
dy = p[1] - origin_[1];
|
||||
|
||||
if (dx === 0 && dy === 0)
|
||||
return;
|
||||
|
||||
if (!started) {
|
||||
started = true;
|
||||
|
||||
Reference in New Issue
Block a user