mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Make osu! logo at song select correctly handle mouse focus.
This commit is contained in:
parent
a3cdbe234e
commit
04346dbb92
@ -195,11 +195,12 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
protected override bool OnMouseUp(InputState state, MouseUpEventArgs args)
|
||||
{
|
||||
|
||||
logoBounceContainer.ScaleTo(1f, 500, EasingTypes.OutElastic);
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override bool OnDragStart(InputState state) => true;
|
||||
|
||||
protected override bool OnClick(InputState state)
|
||||
{
|
||||
if (!Interactive) return false;
|
||||
|
@ -25,6 +25,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private const float padding = 80;
|
||||
|
||||
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||
|
||||
public Action OnBack;
|
||||
public Action OnStart;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user