1
0
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:
Endrik Tombak 2020-11-28 17:07:29 +02:00
parent c0c197501e
commit 8ad4cf73f5

View File

@ -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);