mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Disable operations, copy, and paste during low-zoom selection
This commit is contained in:
@@ -10,6 +10,9 @@ import { uiCmd } from '../ui/cmd';
|
||||
export function behaviorPaste(context) {
|
||||
|
||||
function doPaste() {
|
||||
// prevent paste during low zoom selection
|
||||
if (!context.map().withinEditableZoom()) return;
|
||||
|
||||
d3_event.preventDefault();
|
||||
|
||||
var baseGraph = context.graph();
|
||||
|
||||
Reference in New Issue
Block a user