mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 13:47:21 +08:00
Use MathF utility class instead
Co-authored-by: Berkan Diler <b.diler@gmx.de>
This commit is contained in:
parent
fbfaa378fc
commit
0ad3073c1a
@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
|||||||
/// for positioning some legacy spinner components perfectly as in stable.
|
/// for positioning some legacy spinner components perfectly as in stable.
|
||||||
/// (e.g. 'spin' sprite, 'clear' sprite, metre in old-style spinners)
|
/// (e.g. 'spin' sprite, 'clear' sprite, metre in old-style spinners)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static readonly float SPINNER_TOP_OFFSET = (float)Math.Ceiling(45f * SPRITE_SCALE);
|
public static readonly float SPINNER_TOP_OFFSET = MathF.Ceiling(45f * SPRITE_SCALE);
|
||||||
|
|
||||||
protected const float SPRITE_SCALE = 0.625f;
|
protected const float SPRITE_SCALE = 0.625f;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user