mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Scale stars from 0.4 to 1
This commit is contained in:
parent
c0c197501e
commit
8ad4cf73f5
@ -147,7 +147,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public override void DisplayAt(float scale)
|
||||
{
|
||||
scale = Math.Clamp(scale, min_star_scale, 1);
|
||||
scale = Math.Clamp(scale * (1 - min_star_scale) + min_star_scale, min_star_scale, 1);
|
||||
|
||||
this.FadeTo(scale, fading_duration);
|
||||
Icon.ScaleTo(scale, scaling_duration, scaling_easing);
|
||||
|
Loading…
Reference in New Issue
Block a user