mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-05 11:32:23 +02:00
Fix issue where Points walkthrough could not be completed in some cases due to downgrade operation (re: #6103)
This commit is contained in:
@@ -245,7 +245,7 @@ export function modeSelect(context, selectedIDs) {
|
||||
|
||||
var downgradeOperation = Operations.operationDowngrade(selectedIDs, context);
|
||||
// don't allow delete if downgrade is available
|
||||
var lastOperation = downgradeOperation.available() ? downgradeOperation : Operations.operationDelete(selectedIDs, context);
|
||||
var lastOperation = !context.inIntro() && downgradeOperation.available() ? downgradeOperation : Operations.operationDelete(selectedIDs, context);
|
||||
|
||||
// deprecation warning - Radial Menu to be removed in iD v3
|
||||
var isRadialMenu = context.storage('edit-menu-style') === 'radial';
|
||||
|
||||
Reference in New Issue
Block a user