Skip to content

Move rgba.toColor to channels.toColor#4927

Merged
Tyriar merged 3 commits intoxtermjs:masterfrom
Tyriar:tyriar/color
Dec 28, 2023
Merged

Move rgba.toColor to channels.toColor#4927
Tyriar merged 3 commits intoxtermjs:masterfrom
Tyriar:tyriar/color

Conversation

@Tyriar
Copy link
Copy Markdown
Member

@Tyriar Tyriar commented Dec 28, 2023

This also adds tests for the function and removed a TODO after evaluating it's not needed.

It operates on rgba channels, not a packed 32 bit int
Not much gain by caching the value
@Tyriar Tyriar added this to the 5.4.0 milestone Dec 28, 2023
@Tyriar Tyriar self-assigned this Dec 28, 2023
@Tyriar Tyriar enabled auto-merge December 28, 2023 17:48
@Tyriar Tyriar merged commit 08e67a3 into xtermjs:master Dec 28, 2023
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.

1 participant