mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 17:32:54 +08:00
Merge pull request #5496 from peppy/revert-broke
Revert "Fix BackButton handling escape before all other elements (#54…
This commit is contained in:
commit
f9b9eb5530
@ -404,8 +404,9 @@ namespace osu.Game
|
|||||||
screenContainer = new ScalingContainer(ScalingMode.ExcludeOverlays)
|
screenContainer = new ScalingContainer(ScalingMode.ExcludeOverlays)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Children = new[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
screenStack = new OsuScreenStack { RelativeSizeAxes = Axes.Both },
|
||||||
backButton = new BackButton
|
backButton = new BackButton
|
||||||
{
|
{
|
||||||
Anchor = Anchor.BottomLeft,
|
Anchor = Anchor.BottomLeft,
|
||||||
@ -416,8 +417,6 @@ namespace osu.Game
|
|||||||
screenStack.Exit();
|
screenStack.Exit();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
screenStack = new OsuScreenStack { RelativeSizeAxes = Axes.Both },
|
|
||||||
backButton.CreateProxy(),
|
|
||||||
logoContainer = new Container { RelativeSizeAxes = Axes.Both },
|
logoContainer = new Container { RelativeSizeAxes = Axes.Both },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -9,6 +9,7 @@ using osu.Framework.Extensions.Color4Extensions;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
|
using osu.Framework.Input.Events;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Select
|
namespace osu.Game.Screens.Select
|
||||||
@ -102,5 +103,9 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
updateModeLight();
|
updateModeLight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool OnMouseDown(MouseDownEvent e) => true;
|
||||||
|
|
||||||
|
protected override bool OnClick(ClickEvent e) => true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user