mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 18:47:27 +08:00
Change opacity value to match master implementation
This commit is contained in:
parent
61078e9ae1
commit
2ae5a95d77
@ -174,7 +174,7 @@ 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 readonly Color4 colour = Color4.White.Opacity(0.2f);
|
private static readonly Color4 transparent_white = Color4.White.Opacity(0.1f);
|
||||||
|
|
||||||
private float[] audioData;
|
private float[] audioData;
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
Vector2 inflation = DrawInfo.MatrixInverse.ExtractScale().Xy;
|
Vector2 inflation = DrawInfo.MatrixInverse.ExtractScale().Xy;
|
||||||
|
|
||||||
ColourInfo colourInfo = DrawColourInfo.Colour;
|
ColourInfo colourInfo = DrawColourInfo.Colour;
|
||||||
colourInfo.ApplyChild(colour);
|
colourInfo.ApplyChild(transparent_white);
|
||||||
|
|
||||||
if (audioData != null)
|
if (audioData != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user