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

Problem with parsing colors #6388

Closed
neyasbltb88 opened this issue Feb 17, 2020 · 3 comments
Closed

Problem with parsing colors #6388

neyasbltb88 opened this issue Feb 17, 2020 · 3 comments
Assignees

Comments

@neyasbltb88
Copy link

This problem occurs when working with rgb color. It also manifests itself in color distortion if you use colors.lighten with rgb color. If you use hex colors, this is not a problem

Quasar color bug

@rstoenescu
Copy link
Member

Hi,

Thanks for reporting!
Fix will be available in "quasar" v1.9.3.

@pdanpdan pdanpdan assigned pdanpdan and unassigned rstoenescu Feb 17, 2020
@KirillKaverin
Copy link

@rstoenescu using the fix,

QColors.textToRgb("rgba(255, 159, 64)")

will return {r: 255, g: 159, b: 64, a: 0}
with zero Alpha Channel, but should be equals 1 (default alpha channel) or missed from returned object:

{r: 255, g: 159, b: 64, a: 1}

or

{r: 255, g: 159, b: 64}

@rstoenescu
Copy link
Member

True. Will correct it. Working on a related QColor issue and will include it from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants