Show the shadow palette in the clipping legend and pin both overlay checks.

The shadow warning gained per-channel colours but the legend only explained the
highlight palette, so the new marks had no key. The legend now switches to the
shadow palette whenever shadow clipping is on, listing one channel, the three
two-channel colours and all three. The render check also fails if the shadow
overlay stops following Exposure, the way the highlight side already did.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
2026-11-28 14:58:03 +00:00
parent a67e9ef458
commit 6e80699829
3 changed files with 52 additions and 7 deletions
+22 -6
View File
@@ -2381,13 +2381,29 @@ export default function Develop({
</button>
</div>
)}
{clipPreview && (
{(clipPreview || clipping === 'shadows') && (
<div className="clip-legend">
<span className="clip-dot r" /> red
<span className="clip-dot g" /> green
<span className="clip-dot b" /> blue
<span className="clip-dot y" /> two channels
<span className="clip-dot w" /> all three
{clipPreview ? (
<>
<span className="clip-dot r" /> red
<span className="clip-dot g" /> green
<span className="clip-dot b" /> blue
<span className="clip-dot y" /> two channels
<span className="clip-dot w" /> all three
</>
) : (
<>
<span className="clip-dot r" />
<span className="clip-dot g" />
<span className="clip-dot b" />
<span className="clip-label">one channel</span>
<span className="clip-dot y" />
<span className="clip-dot m" />
<span className="clip-dot c" />
<span className="clip-label">two channels</span>
<span className="clip-dot w" /> all three
</>
)}
</div>
)}
{loupe && !adjustOpen && (