Skip to content

Commit e55b28d

Browse files
committed
fix: ensure GraphCanvasMenu and MiniMap are displayed correctly based on conditions
1 parent aa24595 commit e55b28d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/components/graph/GraphCanvas.vue

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,16 @@
1717
v-if="workflowTabsPosition === 'Topbar (2nd-row)'"
1818
/>
1919
</div>
20-
<GraphCanvasMenu v-if="canvasMenuEnabled" class="pointer-events-auto" />
21-
22-
<MiniMap
23-
v-if="comfyAppReady && minimapEnabled"
24-
class="pointer-events-auto"
25-
/>
2620
</template>
2721
</LiteGraphCanvasSplitterOverlay>
28-
<GraphCanvasMenu v-if="!betaMenuEnabled && canvasMenuEnabled" />
22+
<GraphCanvasMenu v-if="canvasMenuEnabled" class="pointer-events-auto" />
23+
<MiniMap v-if="comfyAppReady && minimapEnabled" class="pointer-events-auto" />
2924
<canvas
3025
id="graph-canvas"
3126
ref="canvasRef"
3227
tabindex="1"
3328
class="align-top w-full h-full touch-none"
3429
/>
35-
3630
<!-- TransformPane for Vue node rendering -->
3731
<TransformPane
3832
v-if="isVueNodesEnabled && comfyApp.canvas && comfyAppReady"

0 commit comments

Comments
 (0)