mirror of https://github.com/ppy/osu
Make colour readonly
This commit is contained in:
parent
458016d17d
commit
ba7ce4c933
|
@ -174,7 +174,8 @@ private class VisualisationDrawNode : DrawNode
|
|||
// Assuming the logo is a circle, we don't need a second dimension.
|
||||
private float size;
|
||||
|
||||
private Color4 colour = Color4.White.Opacity(.2f);
|
||||
private readonly Color4 colour = Color4.White.Opacity(.2f);
|
||||
|
||||
private float[] audioData;
|
||||
|
||||
private readonly QuadBatch<TexturedVertex2D> vertexBatch = new QuadBatch<TexturedVertex2D>(100, 10);
|
||||
|
|
Loading…
Reference in New Issue