-
Notifications
You must be signed in to change notification settings - Fork 66
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
overrideByName causes legend to omit shields #1165 #1180
Conversation
Thanks @joshuamanivinod for the contribution. Do we know why the shield is shifted to the right compared to the others? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! Please remove the extra comment and this is good to go.
There was a problem hiding this 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!
Hi @1ec5
I have implemented a fix for this issue. The updated logic ensures that shields appear correctly in the legend even when a network uses
overrideByName
. Specifically, thegetSortedImages
function now accounts foroverrideByName
alongside existing overrides, ensuring no blank spaces are shown.Let me know if this solution meets your expectations or if further adjustments are needed.