mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 18:22:40 +00:00
fix: ensure GraphCanvasMenu and MiniMap are displayed correctly based on conditions
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user