diff --git a/src/containers/Editor/LiveEditor/helpers.ts b/src/containers/Editor/LiveEditor/helpers.ts index f93b498..43a5347 100644 --- a/src/containers/Editor/LiveEditor/helpers.ts +++ b/src/containers/Editor/LiveEditor/helpers.ts @@ -62,13 +62,13 @@ export function getEdgeNodes( export function getNextLayout(layout: CanvasDirection) { switch (layout) { case "RIGHT": - return "UP"; + return "DOWN"; - case "UP": + case "DOWN": return "LEFT"; case "LEFT": - return "DOWN"; + return "UP"; default: return "RIGHT";