mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Allow spinners to be reversed
This commit is contained in:
parent
db5541d914
commit
45ce6cc82d
@ -45,12 +45,12 @@ namespace osu.Game.Rulesets.Osu.Edit
|
||||
|
||||
public override bool HandleReverse()
|
||||
{
|
||||
var hitObjects = selectedMovableObjects;
|
||||
var hitObjects = EditorBeatmap.SelectedHitObjects;
|
||||
|
||||
double endTime = hitObjects.Max(h => h.GetEndTime());
|
||||
double startTime = hitObjects.Min(h => h.StartTime);
|
||||
|
||||
bool moreThanOneObject = hitObjects.Length > 1;
|
||||
bool moreThanOneObject = hitObjects.Count > 1;
|
||||
|
||||
foreach (var h in hitObjects)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user