1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:35:35 +08:00

Rename function for consistency

This commit is contained in:
Dean Herbert 2020-05-26 10:17:56 +09:00
parent d69111c665
commit 417e31d77f
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
/// <summary>
/// Given a position in screen space, return the time within this column.
/// </summary>
public double TimeAtScreenSpace(Vector2 screenSpacePosition)
public double TimeAtScreenSpacePosition(Vector2 screenSpacePosition)
{
// convert to local space of column so we can snap and fetch correct location.
Vector2 localPosition = ToLocalSpace(screenSpacePosition);

View File

@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
/// Given a position in screen space, return the time within this column.
/// </summary>
public virtual double TimeAtScreenSpacePosition(Vector2 screenSpacePosition) =>
((ScrollingHitObjectContainer)HitObjectContainer).TimeAtScreenSpace(screenSpacePosition);
((ScrollingHitObjectContainer)HitObjectContainer).TimeAtScreenSpacePosition(screenSpacePosition);
/// <summary>
/// Given a time, return the screen space position within this column.