We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f2ae37 commit 5c5ea0cCopy full SHA for 5c5ea0c
src/modes/direct_select.js
@@ -150,9 +150,10 @@ DirectSelect.onSetup = function(opts) {
150
return state;
151
};
152
153
-DirectSelect.onStop = function() {
+DirectSelect.onStop = function(state) {
154
doubleClickZoom.enable(this);
155
this.clearSelectedCoordinates();
156
+ this.stopDragging(state);
157
158
159
DirectSelect.toDisplayFeatures = function(state, geojson, push) {
0 commit comments