mirror of
https://github.com/ppy/osu.git
synced 2025-01-16 10:52:55 +08:00
Merge pull request #10812 from nbvdkamp/allow-reversing-spinners
Allow spinners to be reversed
This commit is contained in:
commit
fc7b0cdced
@ -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