fix: prevent pointer events on widgets when in LOD (#5762)

## 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 <jake@axiom.co>
This commit is contained in:
Simula_r
2025-09-24 17:53:32 -07:00
committed by GitHub
parent 1749cfa678
commit f3e68804e8

View File

@@ -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;
}