From 4dba1d3ab0402adb4a1eb0bfba7936f8064a2bcc Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 26 Jul 2024 10:47:04 -0400 Subject: [PATCH] Fix splitter overlay z-index (#230) --- src/components/LiteGraphCanvasSplitterOverlay.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/LiteGraphCanvasSplitterOverlay.vue b/src/components/LiteGraphCanvasSplitterOverlay.vue index 92723ca24..a88e19fb4 100644 --- a/src/components/LiteGraphCanvasSplitterOverlay.vue +++ b/src/components/LiteGraphCanvasSplitterOverlay.vue @@ -52,7 +52,11 @@ const gutterClass = computed(() => { left: 0; background-color: transparent; pointer-events: none; - z-index: 10; + /* Set it the same as the ComfyUI menu */ + /* Note: Lite-graph DOM widgets have the same z-index as the node id, so + 999 should be sufficient to make sure splitter overlays on node's DOM + widgets */ + z-index: 999; border: none; }