mirror of
https://github.com/ppy/osu.git
synced 2025-02-26 23:22:55 +08:00
Always start small pop out from its initial size
This commit is contained in:
parent
e3289bb080
commit
981ef735cf
@ -206,7 +206,11 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
|
|
||||||
counterContainer.Size = displayedCountSpriteText.Size;
|
counterContainer.Size = displayedCountSpriteText.Size;
|
||||||
|
|
||||||
displayedCountSpriteText.ScaleTo(1.1f, small_pop_out_duration / 2, Easing.InQuad).Then()
|
// In stable, small pop out always starts from its initial size
|
||||||
|
displayedCountSpriteText.ClearTransforms();
|
||||||
|
|
||||||
|
displayedCountSpriteText.ScaleTo(1).Then()
|
||||||
|
.ScaleTo(1.1f, small_pop_out_duration / 2, Easing.InQuad).Then()
|
||||||
.ScaleTo(1, small_pop_out_duration / 2, Easing.OutQuad);
|
.ScaleTo(1, small_pop_out_duration / 2, Easing.OutQuad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user