mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Suppress menu in more places
This commit is contained in:
+4
-2
@@ -59,13 +59,15 @@ iD.modes.Move = function(context, entityIDs) {
|
||||
|
||||
function finish() {
|
||||
d3.event.stopPropagation();
|
||||
context.enter(iD.modes.Select(context, entityIDs));
|
||||
context.enter(iD.modes.Select(context, entityIDs)
|
||||
.suppressMenu(true));
|
||||
stopNudge();
|
||||
}
|
||||
|
||||
function cancel() {
|
||||
context.pop();
|
||||
context.enter(iD.modes.Select(context, entityIDs));
|
||||
context.enter(iD.modes.Select(context, entityIDs)
|
||||
.suppressMenu(true));
|
||||
stopNudge();
|
||||
}
|
||||
|
||||
|
||||
@@ -37,12 +37,14 @@ iD.modes.RotateWay = function(context, wayId) {
|
||||
|
||||
function finish() {
|
||||
d3.event.stopPropagation();
|
||||
context.enter(iD.modes.Select(context, [wayId]));
|
||||
context.enter(iD.modes.Select(context, [wayId])
|
||||
.suppressMenu(true));
|
||||
}
|
||||
|
||||
function cancel() {
|
||||
context.pop();
|
||||
context.enter(iD.modes.Select(context, [wayId]));
|
||||
context.enter(iD.modes.Select(context, [wayId])
|
||||
.suppressMenu(true));
|
||||
}
|
||||
|
||||
function undone() {
|
||||
|
||||
Reference in New Issue
Block a user