Renamed OnClick to OnLinkClicked to (what should be) obvious reasons

This commit is contained in:
FreezyLemon
2017-12-07 16:30:15 +01:00
parent 334cb3dd10
commit 2ceb073b5d
2 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}