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

@ -35,7 +35,7 @@ namespace osu.Game.Screens.Menu
private readonly Key triggerKey;
private SampleChannel sampleClick;
public override bool Contains(Vector2 screenSpacePos) => box.Contains(screenSpacePos);
public override bool ReceiveMouseInputAt(Vector2 screenSpacePos) => box.ReceiveMouseInputAt(screenSpacePos);
public Button(string text, string internalName, FontAwesome symbol, Color4 colour, Action clickAction = null, float extraWidth = 0, Key triggerKey = Key.Unknown)
{