mirror of
https://github.com/ppy/osu.git
synced 2025-01-11 03:32:54 +08:00
Fixed double adjustment of hitobject beatlength
This commit is contained in:
parent
101887d315
commit
9906ab3449
@ -231,9 +231,6 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
|
|
||||||
timing.BeatLength = 60000 / (timing.BPM + adjust);
|
timing.BeatLength = 60000 / (timing.BPM + adjust);
|
||||||
|
|
||||||
if (beatmap.AdjustNotesOnOffsetBPMChange.Value)
|
|
||||||
timing.SetHitObjectBPM(beatmap, 60000 / (timing.BPM - adjust));
|
|
||||||
|
|
||||||
beatmap.UpdateAllHitObjects();
|
beatmap.UpdateAllHitObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,10 +48,8 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
if (!Beatmap.AdjustNotesOnOffsetBPMChange.Value || ControlPoint.Value == null)
|
if (!Beatmap.AdjustNotesOnOffsetBPMChange.Value || ControlPoint.Value == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ChangeHandler?.BeginChange();
|
|
||||||
ControlPoint.Value.SetHitObjectBPM(Beatmap, val.OldValue);
|
ControlPoint.Value.SetHitObjectBPM(Beatmap, val.OldValue);
|
||||||
Beatmap.UpdateAllHitObjects();
|
Beatmap.UpdateAllHitObjects();
|
||||||
ChangeHandler?.EndChange();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user