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

REMOVE_GAMMA and DITHER options were strings and always true in javascript #118

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

cosote
Copy link
Contributor

@cosote cosote commented Apr 9, 2024

I realized that in COLOR_MODE TrueColor the colors were darker than in dashboard. Disabling the REMOVE_GAMMA switch didn't solve it. After debugging, I realized that the string "false" resulted in true condition in javascript, so I just patched the code to return a boolean.

@cosote cosote changed the title REMOVE_GAMMA and DITHER options were strings and always true REMOVE_GAMMA and DITHER options were strings and always true in javascript Apr 9, 2024
@sibbl sibbl merged commit 93b9fd6 into sibbl:main Apr 14, 2024
@sibbl
Copy link
Owner

sibbl commented Apr 14, 2024

Great spot and thanks for directly fixing it via this PR!

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.

2 participants