Skip to content

fix(ui): preserve editor colors in screenshot capture - #5

Merged
mflRevan merged 1 commit into
mflRevan:mainfrom
quentinleon:main
Sep 11, 2026
Merged

mflRevan merged 1 commit into
mflRevan:mainfrom
quentinleon:main

Conversation

@quentinleon

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

@quentinleon is attempting to deploy a commit to the mflrevan's projects Team on Vercel.

A member of the Team first needs to authorize it.

mflRevan added a commit that referenced this pull request Sep 11, 2026
Explain why UiCaptureSurface is a Linear render texture (the harness is an
editor window, which renders in gamma space, and the capture is a raw copy)
and add an edit-mode test that renders a solid panel, captures it, and asserts
the PNG pixel matches the authored color byte for byte. Verified on Windows
6000.4 where both flags produce exact colors; the sRGB variant double-encoded
on Linux (#5).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8oA9mHdr3qmzGNKMhX9Pt
@mflRevan
mflRevan merged commit 833ff8b into mflRevan:main Sep 11, 2026
3 of 4 checks passed
mflRevan added a commit that referenced this pull request Sep 11, 2026
fix(ui): preserve editor colors in screenshot capture
mflRevan added a commit that referenced this pull request Sep 11, 2026
Explain why UiCaptureSurface is a Linear render texture (the harness is an
editor window, which renders in gamma space, and the capture is a raw copy)
and add an edit-mode test that renders a solid panel, captures it, and asserts
the PNG pixel matches the authored color byte for byte. Verified on Windows
6000.4 where both flags produce exact colors; the sRGB variant double-encoded
on Linux (#5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants