mirror of
https://github.com/osukey/osukey.git
synced 2025-06-16 16:57:56 +09: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)
|
if (isDraggingBlueprint)
|
||||||
{
|
{
|
||||||
UpdateSelection();
|
DragOperationCompleted();
|
||||||
|
|
||||||
changeHandler?.EndChange();
|
changeHandler?.EndChange();
|
||||||
}
|
}
|
||||||
@ -182,7 +182,10 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
DragBox.Hide();
|
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);
|
base.AddBlueprintFor(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void UpdateSelection()
|
protected override void DragOperationCompleted()
|
||||||
{
|
{
|
||||||
base.UpdateSelection();
|
base.DragOperationCompleted();
|
||||||
|
|
||||||
// handle positional change etc.
|
// handle positional change etc.
|
||||||
foreach (var blueprint in SelectionBlueprints)
|
foreach (var blueprint in SelectionBlueprints)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user