1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 14:03:21 +08:00

Fix ruleset selector not receiving key input on toolbar absence

This commit is contained in:
Salman Ahmed 2020-04-25 09:53:09 +03:00
parent 37cc1ed5a2
commit 1953c8fc10
No known key found for this signature in database
GPG Key ID: ED81FD33FD9B58BC

View File

@ -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;