Skip to content

Commit

Permalink
Clean up xmldocs
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Jan 23, 2023
1 parent 73f083a commit 1f40b2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion osu.Game/Rulesets/Edit/SelectionBlueprint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected virtual void OnSelected()
protected virtual Vector2[] ScreenSpaceAdditionalNodes => Array.Empty<Vector2>();

/// <summary>
/// The screen-space collection of base points that cause this <see cref="HitObjectSelectionBlueprint"/> to be selected via a drag.
/// The screen-space collection of base points on this <see cref="HitObjectSelectionBlueprint"/> that other objects can be snapped to.
/// The first element of this collection is <see cref="ScreenSpaceSelectionPoint"/>
/// </summary>
public Vector2[] ScreenSpaceSnapPoints => ScreenSpaceAdditionalNodes.Prepend(ScreenSpaceSelectionPoint).ToArray();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,10 @@ private bool moveCurrentSelection(DragEvent e)
/// <summary>
/// Check for positional snap for given blueprint.
/// </summary>
/// <param name="blueprint">The blueprint to check for snapping</param>
/// <param name="distanceTravelled">Distance travelled since start of dragging action. </param>
/// <param name="originalPositions">The selection positions of blueprint before start of dragging action. </param>
/// <returns>Whether found object to snap to.</returns>
/// <param name="blueprint">The blueprint to check for snapping.</param>
/// <param name="distanceTravelled">Distance travelled since start of dragging action.</param>
/// <param name="originalPositions">The snap positions of blueprint before start of dragging action.</param>
/// <returns>Whether an object to snap to was found.</returns>
private bool checkSnappingBlueprintToNearbyObjects(SelectionBlueprint<T> blueprint, Vector2 distanceTravelled, Vector2[] originalPositions)
{
var currentPositions = blueprint.ScreenSpaceSnapPoints;
Expand Down

0 comments on commit 1f40b2d

Please sign in to comment.