mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 16:32:55 +08:00
Remove unnecessary input blocking
This was already done by `OverlayContainer`.
This commit is contained in:
parent
aeca91cde2
commit
b6e7b43b11
@ -166,11 +166,6 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
protected override void PopOut() => this.FadeOut(TRANSITION_DURATION, Easing.In);
|
protected override void PopOut() => this.FadeOut(TRANSITION_DURATION, Easing.In);
|
||||||
|
|
||||||
// Don't let mouse down events through the overlay or people can click circles while paused.
|
|
||||||
protected override bool OnMouseDown(MouseDownEvent e) => true;
|
|
||||||
|
|
||||||
protected override bool OnMouseMove(MouseMoveEvent e) => true;
|
|
||||||
|
|
||||||
protected void AddButton(LocalisableString text, Color4 colour, Action? action)
|
protected void AddButton(LocalisableString text, Color4 colour, Action? action)
|
||||||
{
|
{
|
||||||
var button = new Button
|
var button = new Button
|
||||||
|
Loading…
Reference in New Issue
Block a user