Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move rgba.toColor to channels.toColor #4927

Merged
merged 3 commits into from
Dec 28, 2023
Merged

Conversation

Tyriar
Copy link
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 merged commit 08e67a3 into xtermjs:master Dec 28, 2023
19 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.

1 participant