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

better error messages for checkcolor #1211

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

takase1121
Copy link
Member

checkcolor is used by renderer functions that accept color as input. When something went wrong (especially with invalid arguments, the error message can be cryptic. This PR fixes that.

Before:
image

After:
image

@jgmdev jgmdev merged commit 2e186a7 into lite-xl:master Nov 30, 2022
sprainbrains pushed a commit to sprainbrains/lite-xl that referenced this pull request Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants