1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00
osu-lazer/osu.Game/Screens/Play/HUD/HitErrorMeters
Dean Herbert 86163d2225 Fix hit error meters not updating visual state when hidden
It is an expectation of users that when the HUD is shown after a period
of being hidden, it will visually reflect the state based on recent
judgements.

To achieve this, I've added `AlwaysPresent` and moved the transform
application to the meter level, rather than at a child level. If this is
seen as a bad direction, `AlwaysPresent` can be applied to the drawable
children and the transforms can be moved back.

Also of note, `ColourHitErrorMeter` is pretty weird. The flow class
could potentially be removed and reduce `AlwaysPresent` usage by one.
Can do that refactor as part of this PR if preferred.

Closes #18624.
2022-06-13 16:38:57 +09:00
..
BarHitErrorMeter.cs Fix hit error meters not updating visual state when hidden 2022-06-13 16:38:57 +09:00
ColourHitErrorMeter.cs Fix hit error meters not updating visual state when hidden 2022-06-13 16:38:57 +09:00
HitErrorMeter.cs Fix hit error meters not updating visual state when hidden 2022-06-13 16:38:57 +09:00