mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Initialise Simple{Triple,Quadruple}
only once ever rather than create every time
This commit is contained in:
parent
e4758c9dbb
commit
4e5a1f27a8
@ -27,8 +27,8 @@ namespace osu.Game.Beatmaps.Timing
|
||||
Numerator = numerator;
|
||||
}
|
||||
|
||||
public static TimeSignature SimpleTriple => new TimeSignature(3);
|
||||
public static TimeSignature SimpleQuadruple => new TimeSignature(4);
|
||||
public static TimeSignature SimpleTriple { get; } = new TimeSignature(3);
|
||||
public static TimeSignature SimpleQuadruple { get; } = new TimeSignature(4);
|
||||
|
||||
public override string ToString() => $"{Numerator}/4";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user