mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 10:53:10 +08:00
Rename function for consistency
This commit is contained in:
parent
d69111c665
commit
417e31d77f
@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Given a position in screen space, return the time within this column.
|
/// Given a position in screen space, return the time within this column.
|
||||||
/// </summary>
|
/// </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.
|
// convert to local space of column so we can snap and fetch correct location.
|
||||||
Vector2 localPosition = ToLocalSpace(screenSpacePosition);
|
Vector2 localPosition = ToLocalSpace(screenSpacePosition);
|
||||||
|
@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.UI.Scrolling
|
|||||||
/// Given a position in screen space, return the time within this column.
|
/// Given a position in screen space, return the time within this column.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual double TimeAtScreenSpacePosition(Vector2 screenSpacePosition) =>
|
public virtual double TimeAtScreenSpacePosition(Vector2 screenSpacePosition) =>
|
||||||
((ScrollingHitObjectContainer)HitObjectContainer).TimeAtScreenSpace(screenSpacePosition);
|
((ScrollingHitObjectContainer)HitObjectContainer).TimeAtScreenSpacePosition(screenSpacePosition);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Given a time, return the screen space position within this column.
|
/// Given a time, return the screen space position within this column.
|
||||||
|
Loading…
Reference in New Issue
Block a user