mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Prevent nudging the selection during low-zoom editing
This commit is contained in:
@@ -271,7 +271,8 @@ export function modeSelect(context, selectedIDs) {
|
||||
|
||||
function nudgeSelection(delta) {
|
||||
return function() {
|
||||
d3_event.stopImmediatePropagation();
|
||||
// prevent nudging during low zoom selection
|
||||
if (!context.map().withinEditableZoom()) return;
|
||||
|
||||
var moveOp = operationMove(context, selectedIDs);
|
||||
if (moveOp.disabled()) {
|
||||
|
||||
Reference in New Issue
Block a user