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:
parent
1ecd051383
commit
3b766b8ec8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user