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

Svg import: fix colors #344

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Svg import: fix colors #344

merged 2 commits into from
Nov 27, 2024

Conversation

rodlie
Copy link
Member

@rodlie rodlie commented Nov 26, 2024

The SVG import color refactor in beta 1 introduced an issue. It took the int colors (0-255) and applied it as float (0-1) this resulted in wrong colors in some cases. We now apply the colors as int, unless % then float. Alpha is always float.

@rodlie rodlie added bug Something isn't working svg import color labels Nov 26, 2024
@rodlie rodlie added this to the 1.0.0 milestone Nov 26, 2024
@rodlie rodlie merged commit d3f71a5 into main Nov 27, 2024
4 checks passed
@rodlie rodlie deleted the svg-import-color branch November 27, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working color svg import
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant