mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:15:45 +08:00
Avoid using EditorBeatmap.SelectedHitObjects
This commit is contained in:
parent
32416e4e31
commit
f586bc46e6
@ -374,8 +374,7 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
/// <summary>
|
||||
/// All osu! hitobjects which can be moved/rotated/scaled.
|
||||
/// </summary>
|
||||
private OsuHitObject[] selectedMovableObjects => EditorBeatmap.SelectedHitObjects
|
||||
.OfType<OsuHitObject>()
|
||||
private OsuHitObject[] selectedMovableObjects => SelectedItems.OfType<OsuHitObject>()
|
||||
.Where(h => !(h is Spinner))
|
||||
.ToArray();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user