-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Use input blocking container for mod display bar #34090
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
base: master
Are you sure you want to change the base?
Conversation
split into its own composite in ca0f4b0. there should be no visual changes, hopefully. comparing visuals in tests: (master) Screen.Recording.2025-07-11.at.20.05.07.mov(this MR) Screen.Recording.2025-07-11.at.20.04.18.mov |
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.
ModCountText
still needs protected override bool OnHover(HoverEvent e) => true
(leaderboard panel still gets hover highlight).
Screen.Recording.2025-07-14.at.10.48.44.PM.mov
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.
Unfortunate that there are no previous tests for the regressions seen in the last commit and this...
{ | ||
base.LoadComplete(); | ||
|
||
Mods.BindValueChanged(_ => updateDisplay(), true); |
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.
This needs the ModSettingChangeTracker
, else the multiplier won't update:
Screen.Recording.2025-07-16.at.10.20.16.AM.mov
Hopefully you can just move the one from the parent to this component class and not duplicating or passing, haven't tried. The unranked badge will probably not update.
see #34079
Screen.Recording.2025-07-10.at.01.02.56.mov
309c46f is for consistency since the mod bar display now also consumes event on mouse down (probably need to add a comment there)