1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 01:02:56 +08:00

Misc. fixes

This commit is contained in:
Adonais Romero González 2016-10-09 15:19:35 -05:00
parent 4d0c8ed441
commit 2954c19345
4 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ namespace osu.Game.Graphics.UserInterface
protected virtual void transformAnimate() protected virtual void transformAnimate()
{ {
countSpriteText.Colour = TintColour; countSpriteText.FadeColour(TintColour, 0);
countSpriteText.ScaleTo(new Vector2(1, ScaleFactor)); countSpriteText.ScaleTo(new Vector2(1, ScaleFactor));
countSpriteText.FadeColour(OriginalColour, TintDuration, TintEasing); countSpriteText.FadeColour(OriginalColour, TintDuration, TintEasing);
countSpriteText.ScaleTo(new Vector2(1, 1), TintDuration, TintEasing); countSpriteText.ScaleTo(new Vector2(1, 1), TintDuration, TintEasing);

View File

@ -96,7 +96,7 @@ namespace osu.Game.Graphics.UserInterface
IsRollingProportional IsRollingProportional
? getProportionalDuration(VisibleCount, value) ? getProportionalDuration(VisibleCount, value)
: RollingDuration; : RollingDuration;
transformCount(IsRollingContinuous ? VisibleCount : count, value); transformCount(IsRollingContinuous ? VisibleCount : prevCount, value);
} }
} }
} }

View File

@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterface
public float PopOutSmallScale = 1.2f; public float PopOutSmallScale = 1.2f;
public EasingTypes PopOutEasing = EasingTypes.None; public EasingTypes PopOutEasing = EasingTypes.None;
public bool CanPopOutWhenBackwards = false; public bool CanPopOutWhenBackwards = false;
public float PopOutInitialAlpha = 1.0f; public float PopOutInitialAlpha = 0.75f;
public StandardComboCounter() : base() public StandardComboCounter() : base()
{ {

View File

@ -110,7 +110,7 @@ namespace osu.Game.Graphics.UserInterface
transform.StartValue = stars[i].Scale; transform.StartValue = stars[i].Scale;
transform.EndValue = new Vector2( transform.EndValue = new Vector2(
Interpolation.ValueAt( Interpolation.ValueAt(
(isIncrement ? Math.Min(i + 1, Count) : Math.Max(i, Count)), Math.Min(Math.Max(i, Count), i + 1),
MinStarSize, MinStarSize,
1.0f, 1.0f,
i, i,