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

feat:Added opacity options on colour highlights #1452

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zoinkwiz
Copy link
Owner

@Zoinkwiz Zoinkwiz commented Feb 27, 2024

fixes #1153

@Zoinkwiz Zoinkwiz linked an issue Feb 27, 2024 that may be closed by this pull request
Copy link
Contributor

@pajlada pajlada left a comment

Choose a reason for hiding this comment

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

The opacity value doesn't have any limits, seems like I can set it to any integer above 0. It should probably be limited to 0-255 (or 1-255) if those are the expected values

It only works with "Square" item highlights & "Convex Hull" NPC highlights, is this intended?

Co-Authored-By: pajlada <962989+pajlada@users.noreply.github.com>
@Zoinkwiz
Copy link
Owner Author

Zoinkwiz commented Mar 4, 2024

Good point on the range, added now! On the highlight choice, you're right in that I think there are some for widgets and such I should check out as well, I'll look into that now.

@Zoinkwiz
Copy link
Owner Author

Zoinkwiz commented Mar 4, 2024

I realised the existing color config could be configured to also accept opacity as an option, so I've adjusted the PR to try and make use of that, as well as making some useful re-usable functions for the common usage of various opacities.

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.

Suggestions
2 participants