1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 15:02:54 +08:00

Fix failing tests

This commit is contained in:
Dean Herbert 2022-11-04 20:47:49 +09:00
parent 20021551bb
commit 36c08b69fe

View File

@ -105,8 +105,6 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
return true;
}
private bool hasSingleObjectSelected => selectedObjects.Count == 1;
protected override void Update()
{
base.Update();
@ -145,7 +143,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
private void updateVisualDefinition()
{
// To reduce overhead of drawing these blueprints, only add extra detail when hovered or when only this slider is selected.
if (IsSelected && selectedObjects.Count == 1)
if (IsSelected && selectedObjects.Count < 2)
{
if (ControlPointVisualiser == null)
{