From f3e68804e87170a853cdc599ed05d655b53b0152 Mon Sep 17 00:00:00 2001 From: Simula_r <18093452+simula-r@users.noreply.github.com> Date: Wed, 24 Sep 2025 17:53:32 -0700 Subject: [PATCH] fix: prevent pointer events on widgets when in LOD (#5762) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Prevent pointer events on widgets themselves when isLOD. Fixes: https://www.notion.so/comfy-org/LOD-state-allows-pointer-events-on-widgets-2786d73d3650800da600d7b52c66475a?source=copy_link ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5762-fix-prevent-pointer-events-on-widgets-when-in-LOD-2796d73d365081ac95d4ec27eda5027c) by [Unito](https://www.unito.io) --------- Co-authored-by: JakeSchroeder --- src/assets/css/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 21d526bac..635beea43 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -970,10 +970,9 @@ audio.comfy-audio.empty-audio-widget { border-radius: 0; contain: layout style; transition: none; - } -.isLOD .lg-node > * { +.isLOD .lg-node-widgets { pointer-events: none; }