1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 05:30:11 +08:00

FinishCapture -> FinishDrag from Handles

This commit is contained in:
smoogipoo
2017-12-18 19:24:41 +09:00
Unverified
parent 09c51df2bd
commit 5493493f82
3 changed files with 5 additions and 5 deletions
@@ -35,7 +35,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
/// <summary>
/// Invoked when this <see cref="Handle"/> has finished updates to the drag rectangle.
/// </summary>
public Action FinishCapture;
public Action FinishDrag;
private Color4 normalColour;
private Color4 hoverColour;
@@ -87,7 +87,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
protected override bool OnDragEnd(InputState state)
{
FinishCapture();
FinishDrag();
return true;
}
@@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
/// <summary>
/// Invoked when a <see cref="Handle"/> has finished updates to the drag rectangle.
/// </summary>
public Action FinishCapture;
public Action FinishDrag;
public HandleContainer()
{
@@ -85,7 +85,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
{
m.GetDragRectangle = () => GetDragRectangle();
m.UpdateDragRectangle = r => UpdateDragRectangle(r);
m.FinishCapture = () => FinishCapture();
m.FinishDrag = () => FinishDrag();
});
}
}
@@ -75,7 +75,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
updateDragRectangle(r);
BeginCapture();
},
FinishCapture = FinishCapture
FinishDrag = FinishCapture
}
};
}