1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-16 05:37:19 +08:00

Make CaptureBox account for changes in hitobject states

This commit is contained in:
smoogipoo 2018-03-09 23:11:48 +09:00
parent 1ecd051383
commit 3b766b8ec8

View File

@ -42,6 +42,13 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
private void load(OsuColour colours)
{
BorderColour = colours.Yellow;
}
protected override void Update()
{
base.Update();
// Todo: We might need to optimise this
// Move the rectangle to cover the hitobjects
var topLeft = new Vector2(float.MaxValue, float.MaxValue);