mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Remove unused ScreenSpaceStartPosition field
This commit is contained in:
@ -16,11 +16,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
/// </summary>
|
||||
public readonly SelectionBlueprint Blueprint;
|
||||
|
||||
/// <summary>
|
||||
/// The starting screen-space position of the hitobject.
|
||||
/// </summary>
|
||||
public readonly Vector2 ScreenSpaceStartPosition;
|
||||
|
||||
/// <summary>
|
||||
/// The expected screen-space position of the hitobject at the current cursor position.
|
||||
/// </summary>
|
||||
@ -29,15 +24,11 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
/// <summary>
|
||||
/// The distance between <see cref="ScreenSpacePosition"/> and the hitobject's current position, in the coordinate-space of the hitobject's parent.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This does not use <see cref="ScreenSpaceStartPosition"/> and does not represent the cumulative movement distance.
|
||||
/// </remarks>
|
||||
public readonly Vector2 InstantDelta;
|
||||
|
||||
public MoveSelectionEvent(SelectionBlueprint blueprint, Vector2 screenSpaceStartPosition, Vector2 screenSpacePosition)
|
||||
public MoveSelectionEvent(SelectionBlueprint blueprint, Vector2 screenSpacePosition)
|
||||
{
|
||||
Blueprint = blueprint;
|
||||
ScreenSpaceStartPosition = screenSpaceStartPosition;
|
||||
ScreenSpacePosition = screenSpacePosition;
|
||||
|
||||
InstantDelta = Blueprint.GetInstantDelta(ScreenSpacePosition);
|
||||
|
Reference in New Issue
Block a user