Feature: Option to force standard quality Attack Bar#87
Merged
Lexer747 merged 3 commits intongraves95:mainfrom Mar 19, 2026
Merged
Feature: Option to force standard quality Attack Bar#87Lexer747 merged 3 commits intongraves95:mainfrom
Lexer747 merged 3 commits intongraves95:mainfrom
Conversation
|
Instead of just forcing low detail as an option, could it instead be a select: |
…(Auto/Standard/High Detail)
Contributor
Author
Collaborator
|
Testing looks great! I'll do a code review this week, thank you for working on this. |
Collaborator
|
I'm getting two different exceptions while testing this: And Both are thrown on line 107 of Ah I just checked and this is happening on Will review the code in this PR now. |
Lexer747
approved these changes
Mar 19, 2026
Collaborator
Lexer747
left a comment
There was a problem hiding this comment.
Nice thanks for adding the option :)
Lexer747
added a commit
that referenced
this pull request
Mar 27, 2026
## Summary As reported by #92 (but I personally didn't encounter until #87 was merged) when the HD bar is empty it will spam the logs with exceptions. Looking at what causes this it's two things: * When the bar is nearly empty: * Ratio can be negative depending on the settings * If the ratio is negative then negative pixels are requested for the sub image * When the bar is actually empty: * `progressFill` is `0` which asks for a 0 width sub image Therefore to make the code more robust `ratio` is always clamped between `0` and `1`. And when `progressFill` is less than or equal to `1` we should just not draw the second image. (which was what was already happening if you think about because the exception is complaining it can't draw an image). ----- Aside: updated the copyright (git history) and formatting of the file. ## Testing A minute of gargoyle killing flicking through the settings showing the RL logs and the lack of spam :) https://www.youtube.com/watch?v=WBdZh-M7X_c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Option to force standard quality Attack Bar regardless of option selected by Interface Styles
Raised in Issue #85