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

Color parsing is incorrect for rgba hexes #32

Closed
epsilon-phase opened this issue Sep 30, 2024 · 1 comment
Closed

Color parsing is incorrect for rgba hexes #32

epsilon-phase opened this issue Sep 30, 2024 · 1 comment

Comments

@epsilon-phase
Copy link
Contributor

Hi, I've been writing an application with egui that uses this to layout a graph.

So far most everything is pretty easy to work with, however, your color parsing code handles rgba incorrectly.

Specifically, if I have a color #191d1dff, it gets turned into #1d1dffff because it gets extended with full opacity

@nadavrot
Copy link
Owner

nadavrot commented Oct 1, 2024

Thank you for fixing the issue!

@nadavrot nadavrot closed this as completed Oct 1, 2024
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

No branches or pull requests

2 participants