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

Focus Target/Buff Bar support #7

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

Conversation

oorzkws
Copy link

@oorzkws oorzkws commented Apr 14, 2023

Adds support for scaling on the focus target, and on your own buff/debuff bars (merged or separate). Since I wasn't originally planning to make drastic changes or submit a PR, I had formatted it to my own style - you may wish to run an autoformat before merging, but unfortunately either way the blame will be a little wonky.

Feedback is appreciated.

Fixes the build warnings for other OS
I might have accidentally spent a few hours on this. The pre-existing compiler warnings are still there and yours to solve how you see fit.

Resolves rgd87#4 on merge.
fixed warnings, solved the focus target issue using a disgusting hack - check the text color for white (this seems to still be valid for buffs/debuffs without durations)
Technically uses more CPU cycles but the target logic seems to update on a very slightly differently timed loop than the UI, causing weird issues
Some annoyances because the ResNode doesn't have a ChildCount
@oorzkws
Copy link
Author

oorzkws commented Apr 17, 2023

Hm, this currently ignores if the order of debuffs is re-sorted on your buff bar such as justify-right

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.

1 participant