Make osu! logo at song select correctly handle mouse focus.

This commit is contained in:
Dean Herbert 2017-02-16 22:23:03 +09:00
parent a3cdbe234e
commit 04346dbb92
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 4 additions and 1 deletions

View File

@ -195,11 +195,12 @@ protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
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;

View File

@ -25,6 +25,8 @@ public class Footer : Container
private const float padding = 80;
public override bool Contains(Vector2 screenSpacePos) => true;
public Action OnBack;
public Action OnStart;