mirror of https://github.com/ppy/osu
Only apply dim at top level objects
This commit is contained in:
parent
56d424003d
commit
52002d91dd
|
@ -70,6 +70,9 @@ protected override void UpdateInitialTransforms()
|
|||
{
|
||||
base.UpdateInitialTransforms();
|
||||
|
||||
// Dim should only be applied at a top level, as it will be implicitly applied to nested objects.
|
||||
if (ParentHitObject == null)
|
||||
{
|
||||
// Of note, no one noticed this was missing for years, but it definitely feels like it should still exist.
|
||||
// For now this is applied across all skins, and matches stable.
|
||||
// For simplicity, dim colour is applied to the DrawableHitObject itself.
|
||||
|
@ -78,6 +81,7 @@ protected override void UpdateInitialTransforms()
|
|||
using (BeginDelayedSequence(InitialLifetimeOffset - OsuHitWindows.MISS_WINDOW))
|
||||
this.FadeColour(Color4.White, 100);
|
||||
}
|
||||
}
|
||||
|
||||
protected sealed override double InitialLifetimeOffset => HitObject.TimePreempt;
|
||||
|
||||
|
|
Loading…
Reference in New Issue