mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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>
|
/// </summary>
|
||||||
public float BottomScoringElementsHeight { get; private set; }
|
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 KeyCounterDisplay KeyCounter;
|
||||||
public readonly ModDisplay ModDisplay;
|
public readonly ModDisplay ModDisplay;
|
||||||
public readonly HoldForMenuButton HoldToQuit;
|
public readonly HoldForMenuButton HoldToQuit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user