1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 17:23:52 +08:00

Formatting fixes

This commit is contained in:
Dean Herbert 2018-04-04 20:02:38 +09:00
parent a997ec6139
commit 5c036b966b
3 changed files with 6 additions and 3 deletions

View File

@ -26,9 +26,8 @@ namespace osu.Game.Rulesets.Edit
public event Action<HitObjectMask> Deselected;
/// <summary>
/// Invoked when this <see cref="HitObjectMask"/> has rqeuested selection.
/// Will fire even if already selected.
/// Does not actually perform selection.
/// Invoked when this <see cref="HitObjectMask"/> has requested selection.
/// Will fire even if already selected. Does not actually perform selection.
/// </summary>
public event Action<HitObjectMask> SelectionRequested;

View File

@ -34,6 +34,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
public DragLayer(Action<RectangleF> performSelection)
{
this.performSelection = performSelection;
RelativeSizeAxes = Axes.Both;
AlwaysPresent = true;
Alpha = 0;

View File

@ -23,6 +23,9 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
/// </summary>
public event Action<HitObjectMask> MaskDeselected;
/// <summary>
/// Invoked when any <see cref="HitObjectMask"/> requests selection.
/// </summary>
public event Action<HitObjectMask> MaskSelectionRequested;
private IEnumerable<HitObjectMask> aliveMasks => AliveInternalChildren.Cast<HitObjectMask>();