Mark the scene environment stale on every Layers-panel edit that changes how a
layer looks (colour, window, opacity, visibility, mesh knobs, a reset), skipping
changes that render nothing (the selection, a sound row's gain). The panel's own
state is the one place every edit passes through; the window luxar-layers-changed event fires once per load and
also re-learns the adaptive DPR, so it is the wrong signal for a slider drag.
markStale debounces, so a drag costs one capture once it settles.
Mark the scene environment stale on every Layers-panel edit that changes how a layer looks (colour, window, opacity, visibility, mesh knobs, a reset), skipping changes that render nothing (the selection, a sound row's gain). The panel's own state is the one place every edit passes through; the window
luxar-layers-changedevent fires once per load and also re-learns the adaptive DPR, so it is the wrong signal for a slider drag.markStaledebounces, so a drag costs one capture once it settles.