1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 06:09:59 +08:00

Fix catcher additive sprites staying on screen during rewind

This commit is contained in:
Dean Herbert
2019-09-08 00:09:24 +09:00
Unverified
parent 7f2d14416a
commit fdd3687437
+2 -1
View File
@@ -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;