From ec1c922cda70c2d47a59644b1a6c93cf03e7f75d Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Wed, 2 Dec 2020 15:13:33 -0500 Subject: [PATCH] Allow moving single nodes using the Move operation (close #8225) --- modules/operations/move.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/operations/move.js b/modules/operations/move.js index 4078714c8..677709d92 100644 --- a/modules/operations/move.js +++ b/modules/operations/move.js @@ -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; };