mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Renamed OnClick to OnLinkClicked to (what should be) obvious reasons
This commit is contained in:
@ -47,7 +47,7 @@ namespace osu.Game.Graphics.Sprites
|
||||
{
|
||||
url = value;
|
||||
|
||||
content.Action = OnClick;
|
||||
content.Action = OnLinkClicked;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -66,6 +66,6 @@ namespace osu.Game.Graphics.Sprites
|
||||
set { Content.Colour = value; }
|
||||
}
|
||||
|
||||
protected virtual void OnClick() => Process.Start(Url);
|
||||
protected virtual void OnLinkClicked() => Process.Start(Url);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user