Dissalow vertex deletion while dragging - thanks for the review crschmidt (closes #1122).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5099 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -168,6 +168,11 @@
|
||||
// run the above four tests twice
|
||||
control.handleKeypress(delKey);
|
||||
control.handleKeypress(dKey);
|
||||
|
||||
// now make sure nothing happens if the vertex is mid-drag
|
||||
control.dragControl.dragHandler.dragging = true;
|
||||
control.handleKeypress(delKey);
|
||||
|
||||
// reset modified methods
|
||||
control.onModification = function() {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user