diff --git a/src/lib/components/ComfyBoxWorkflowsView.svelte b/src/lib/components/ComfyBoxWorkflowsView.svelte index 1e5f949..1a80588 100644 --- a/src/lib/components/ComfyBoxWorkflowsView.svelte +++ b/src/lib/components/ComfyBoxWorkflowsView.svelte @@ -98,27 +98,27 @@ } } - let propsSidebarSize = 0; + let leftSidebarSize = 0; - function toggleProps() { - if (propsSidebarSize == 0) { - propsSidebarSize = 15; + function toggleLeft() { + if (leftSidebarSize == 0) { + leftSidebarSize = 15; app.resizeCanvas(); } else { - propsSidebarSize = 0; + leftSidebarSize = 0; } } - let queueSidebarSize = 20; + let rightSidebarSize = 20; - function toggleQueue() { - if (queueSidebarSize == 0) { - queueSidebarSize = 20; + function toggleRight() { + if (rightSidebarSize == 0) { + rightSidebarSize = 20; app.resizeCanvas(); } else { - queueSidebarSize = 0; + rightSidebarSize = 0; } } @@ -186,8 +186,8 @@