Skip to content

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

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

Conversation

GSculerlor
Copy link
Contributor

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)

@GSculerlor
Copy link
Contributor Author

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

@Joehuu Joehuu self-requested a review July 15, 2025 05:46
Copy link
Member

@Joehuu Joehuu left a 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

Copy link
Member

@Joehuu Joehuu left a 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);
Copy link
Member

@Joehuu Joehuu Jul 16, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants