Nodes needs Array.length not Set.size

This commit is contained in:
Bryan Housel
2019-04-19 11:04:41 -04:00
parent 1092ddb125
commit 4d66cacb27

View File

@@ -21,7 +21,7 @@ export function operationRotate(selectedIDs, context) {
operation.available = function() {
return nodes.size >= 2;
return nodes.length >= 2;
};