mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +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.
|
||||
/// (e.g. 'spin' sprite, 'clear' sprite, metre in old-style spinners)
|
||||
/// </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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user