Skip to content

Commit

Permalink
Fixed chrome selection bug (fixes #2151)
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwarz committed Jul 15, 2014
1 parent a75cd68 commit be68027
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/id/behavior/drag.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit be68027

Please sign in to comment.