Use ReceiveMouseInputAt whenever possible

This commit is contained in:
Thomas Müller
2017-06-30 09:54:03 +03:00
parent 5c02f1812f
commit bb15bc0467
14 changed files with 14 additions and 14 deletions

View File

@ -38,7 +38,7 @@ namespace osu.Game.Graphics.UserInterface
public readonly TextAwesome Chevron;
//don't allow clicking between transitions and don't make the chevron clickable
public override bool Contains(Vector2 screenSpacePos) => Alpha == 1f && Text.Contains(screenSpacePos);
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => Alpha == 1f && Text.ReceiveMouseInputAt(screenSpacePos);
public override bool HandleInput => State == Visibility.Visible;
private Visibility state;