Skip to content

fix(color): keep green/blue order in with_alpha#31

Merged
dsent merged 1 commit into
aldum:devfrom
Vadim1987:Vadim1987/fix-color-alpha-channels
Jul 2, 2026
Merged

fix(color): keep green/blue order in with_alpha#31
dsent merged 1 commit into
aldum:devfrom
Vadim1987:Vadim1987/fix-color-alpha-channels

Conversation

@Vadim1987

Copy link
Copy Markdown

with_alpha bound color[2]/color[3] to locals named blue/green and returned {red, green, blue, alpha}, so it transposed green and blue. Fix the local names so the channels are preserved. Note: this changes the rendered tint of alpha-dimmed UI (editor dimming, search results, terminal overlay), which has been using swapped channels until now.

@dsent

dsent commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

@Vadim1987 can you post a screenshot capture of the affected screens with this change?

@aldum aldum left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RBG

What was I thinking?

@dsent
dsent merged commit 79926e2 into aldum:dev Jul 2, 2026
8 checks passed
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.

3 participants