mirror of
https://github.com/osukey/osukey.git
synced 2025-05-14 01:57:22 +09: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;
|
protected readonly OsuSpriteText MultiplierLabel;
|
||||||
private readonly FillFlowContainer footerContainer;
|
private readonly FillFlowContainer footerContainer;
|
||||||
|
|
||||||
|
protected override bool BlockPassThroughKeyboard => false;
|
||||||
|
|
||||||
protected readonly FillFlowContainer<ModSection> ModSectionsContainer;
|
protected readonly FillFlowContainer<ModSection> ModSectionsContainer;
|
||||||
|
|
||||||
public readonly Bindable<IEnumerable<Mod>> SelectedMods = new Bindable<IEnumerable<Mod>>();
|
public readonly Bindable<IEnumerable<Mod>> SelectedMods = new Bindable<IEnumerable<Mod>>();
|
||||||
|
@ -28,6 +28,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private readonly Container contentContainer;
|
private readonly Container contentContainer;
|
||||||
|
|
||||||
|
protected override bool BlockPassThroughKeyboard => true;
|
||||||
|
|
||||||
protected override Container<Drawable> Content => contentContainer;
|
protected override Container<Drawable> Content => contentContainer;
|
||||||
|
|
||||||
protected Color4 FirstWaveColour
|
protected Color4 FirstWaveColour
|
||||||
|
Loading…
x
Reference in New Issue
Block a user