mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Merge pull request #1715 from peppy/overlays-block-keyboard
Correctly make fullscreen overlays block keyboard input from drawables behind them
This commit is contained in:
commit
44e4716a4f
@ -31,6 +31,8 @@ namespace osu.Game.Overlays.Mods
|
||||
protected readonly OsuSpriteText MultiplierLabel;
|
||||
private readonly FillFlowContainer footerContainer;
|
||||
|
||||
protected override bool BlockPassThroughKeyboard => false;
|
||||
|
||||
protected readonly FillFlowContainer<ModSection> ModSectionsContainer;
|
||||
|
||||
public readonly Bindable<IEnumerable<Mod>> SelectedMods = new Bindable<IEnumerable<Mod>>();
|
||||
|
@ -28,6 +28,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
private readonly Container contentContainer;
|
||||
|
||||
protected override bool BlockPassThroughKeyboard => true;
|
||||
|
||||
protected override Container<Drawable> Content => contentContainer;
|
||||
|
||||
protected Color4 FirstWaveColour
|
||||
|
Loading…
Reference in New Issue
Block a user