mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
Fix ruleset selector not receiving key input on toolbar absence
This commit is contained in:
parent
37cc1ed5a2
commit
1953c8fc10
@ -33,6 +33,10 @@ namespace osu.Game.Overlays.Toolbar
|
||||
|
||||
private readonly Bindable<OverlayActivation> overlayActivationMode = new Bindable<OverlayActivation>(OverlayActivation.All);
|
||||
|
||||
// Required for toolbar components that need to listen for key input
|
||||
// to invoke specific actions while toolbar is in hidden state.
|
||||
public override bool PropagateNonPositionalInputSubTree => true;
|
||||
|
||||
public Toolbar()
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
|
Loading…
Reference in New Issue
Block a user