mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
AlwaysReceiveInput and InternalContains.
This commit is contained in:
@ -35,10 +35,7 @@ namespace osu.Game.Screens.Menu
|
||||
private Key triggerKey;
|
||||
private SampleChannel sampleClick;
|
||||
|
||||
public override bool Contains(Vector2 screenSpacePos)
|
||||
{
|
||||
return box.Contains(screenSpacePos);
|
||||
}
|
||||
protected override bool InternalContains(Vector2 screenSpacePos) => box.Contains(screenSpacePos);
|
||||
|
||||
public Button(string text, string internalName, FontAwesome symbol, Color4 colour, Action clickAction = null, float extraWidth = 0, Key triggerKey = Key.Unknown)
|
||||
{
|
||||
|
Reference in New Issue
Block a user