mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
change layout change order
This commit is contained in:
parent
ab3413b5bc
commit
d1529c50d8
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user