fix: ensure GraphCanvasMenu and MiniMap are displayed correctly based on conditions

This commit is contained in:
Johnpaul
2025-09-19 22:19:57 +01:00
parent aa245957e8
commit e55b28d1b2

View File

@@ -17,22 +17,16 @@
v-if="workflowTabsPosition === 'Topbar (2nd-row)'" v-if="workflowTabsPosition === 'Topbar (2nd-row)'"
/> />
</div> </div>
<GraphCanvasMenu v-if="canvasMenuEnabled" class="pointer-events-auto" />
<MiniMap
v-if="comfyAppReady && minimapEnabled"
class="pointer-events-auto"
/>
</template> </template>
</LiteGraphCanvasSplitterOverlay> </LiteGraphCanvasSplitterOverlay>
<GraphCanvasMenu v-if="!betaMenuEnabled && canvasMenuEnabled" /> <GraphCanvasMenu v-if="canvasMenuEnabled" class="pointer-events-auto" />
<MiniMap v-if="comfyAppReady && minimapEnabled" class="pointer-events-auto" />
<canvas <canvas
id="graph-canvas" id="graph-canvas"
ref="canvasRef" ref="canvasRef"
tabindex="1" tabindex="1"
class="align-top w-full h-full touch-none" class="align-top w-full h-full touch-none"
/> />
<!-- TransformPane for Vue node rendering --> <!-- TransformPane for Vue node rendering -->
<TransformPane <TransformPane
v-if="isVueNodesEnabled && comfyApp.canvas && comfyAppReady" v-if="isVueNodesEnabled && comfyApp.canvas && comfyAppReady"