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

Add color to each field #60

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Add color to each field #60

merged 3 commits into from
Aug 27, 2024

Conversation

elliottslaughter
Copy link
Contributor

Every field now consists of a FieldID, Field, and Option<Color32>. If the color is Some(_) then the field will be rendered as that color in the UI.

In the current version of this PR, this applies both to pop-ups that are displayed on hover, as well as the pop-up box that appears when you click. Both the field title and field data will be rendered in the specified color.

Copy link

@lightsighter lightsighter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@elliottslaughter elliottslaughter merged commit 9c86b47 into master Aug 27, 2024
12 checks passed
@elliottslaughter elliottslaughter deleted the field-color branch August 27, 2024 23:05
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