1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix editor custom FadeOut causing overlapping issues by removing existing FadeOut

This commit is contained in:
Dean Herbert 2020-02-12 19:03:22 +09:00
parent f7ee675102
commit 85a4437837

View File

@ -40,6 +40,8 @@ namespace osu.Game.Rulesets.Osu.Edit
if (existing == null)
return;
hitObject.RemoveTransform(existing);
using (hitObject.BeginAbsoluteSequence(existing.StartTime))
hitObject.FadeOut(editor_hit_object_fade_out_extension).Expire();
break;