mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 14:45:12 +02:00
Allow moving single nodes using the Move operation (close #8225)
This commit is contained in:
@@ -17,8 +17,7 @@ export function operationMove(context, selectedIDs) {
|
||||
|
||||
|
||||
operation.available = function() {
|
||||
return selectedIDs.length > 1 ||
|
||||
context.entity(selectedIDs[0]).type !== 'node';
|
||||
return selectedIDs.length > 0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user