mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:42:54 +08:00
Rename and xmldoc selection completed method
This commit is contained in:
parent
7ec5ea1eb5
commit
42255f8d33
@ -173,7 +173,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
if (isDraggingBlueprint)
|
||||
{
|
||||
UpdateSelection();
|
||||
DragOperationCompleted();
|
||||
|
||||
changeHandler?.EndChange();
|
||||
}
|
||||
@ -182,7 +182,10 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
DragBox.Hide();
|
||||
}
|
||||
|
||||
protected virtual void UpdateSelection()
|
||||
/// <summary>
|
||||
/// Called whenever a drag operation completes, before any change transaction is committed.
|
||||
/// </summary>
|
||||
protected virtual void DragOperationCompleted()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -108,9 +108,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
base.AddBlueprintFor(item);
|
||||
}
|
||||
|
||||
protected override void UpdateSelection()
|
||||
protected override void DragOperationCompleted()
|
||||
{
|
||||
base.UpdateSelection();
|
||||
base.DragOperationCompleted();
|
||||
|
||||
// handle positional change etc.
|
||||
foreach (var blueprint in SelectionBlueprints)
|
||||
|
Loading…
Reference in New Issue
Block a user