mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Fix HUD components being interactive even when the HUD is visually hidden
This commit is contained in:
parent
f6a8cc3f32
commit
20adc522b9
@ -39,6 +39,10 @@ namespace osu.Game.Screens.Play
|
||||
/// </summary>
|
||||
public float BottomScoringElementsHeight { get; private set; }
|
||||
|
||||
// HUD uses AlwaysVisible on child components so they can be in an updated state for next display.
|
||||
// Without blocking input, this would also allow them to be interacted with in such a state.
|
||||
public override bool PropagatePositionalInputSubTree => ShowHud.Value;
|
||||
|
||||
public readonly KeyCounterDisplay KeyCounter;
|
||||
public readonly ModDisplay ModDisplay;
|
||||
public readonly HoldForMenuButton HoldToQuit;
|
||||
|
Loading…
Reference in New Issue
Block a user