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