forked from davidtodd/landmarks
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Contrast calculation needs point size, but is given pixels #485
Labels
Comments
matatk
added a commit
that referenced
this issue
Sep 25, 2022
Not the best solution, but this seems unreasonably complicated, so just doing this for now. This will flip the label colour when the user has the default settings. Fixes #485
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The threshold for the font colour decision requires font sizes to be expressed in points, but the rest of the codebase and UI takes the font size as being in pixels. Oops :-).
The text was updated successfully, but these errors were encountered: