mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +08:00
Make colour readonly
This commit is contained in:
parent
458016d17d
commit
ba7ce4c933
@ -174,7 +174,8 @@ namespace osu.Game.Screens.Menu
|
|||||||
// Assuming the logo is a circle, we don't need a second dimension.
|
// Assuming the logo is a circle, we don't need a second dimension.
|
||||||
private float size;
|
private float size;
|
||||||
|
|
||||||
private Color4 colour = Color4.White.Opacity(.2f);
|
private readonly Color4 colour = Color4.White.Opacity(.2f);
|
||||||
|
|
||||||
private float[] audioData;
|
private float[] audioData;
|
||||||
|
|
||||||
private readonly QuadBatch<TexturedVertex2D> vertexBatch = new QuadBatch<TexturedVertex2D>(100, 10);
|
private readonly QuadBatch<TexturedVertex2D> vertexBatch = new QuadBatch<TexturedVertex2D>(100, 10);
|
||||||
|
Loading…
Reference in New Issue
Block a user