mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Fix catcher additive sprites staying on screen during rewind
This commit is contained in:
parent
7f2d14416a
commit
fdd3687437
@ -1,4 +1,4 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
@ -197,6 +197,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
|
||||
additive.Anchor = Anchor;
|
||||
additive.OriginPosition = additive.OriginPosition + new Vector2(DrawWidth / 2, 0); // also temporary to align sprite correctly.
|
||||
additive.LifetimeStart = Clock.CurrentTime;
|
||||
additive.Position = Position;
|
||||
additive.Scale = Scale;
|
||||
additive.Colour = HyperDashing ? Color4.Red : Color4.White;
|
||||
|
Loading…
Reference in New Issue
Block a user