mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Set 'Colour' when creating 'textFlow'
This commit is contained in:
@ -356,7 +356,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Colour = textFlow.Colour,
|
Colour = Color4.White.Opacity(0.75f),
|
||||||
Text = text
|
Text = text
|
||||||
}, loaded =>
|
}, loaded =>
|
||||||
{
|
{
|
||||||
@ -367,18 +367,6 @@ namespace osu.Game.Screens.Select
|
|||||||
this.FadeIn(transition_duration);
|
this.FadeIn(transition_duration);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public Color4 TextColour
|
|
||||||
{
|
|
||||||
get { return textFlow.Colour; }
|
|
||||||
set { textFlow.Colour = value; }
|
|
||||||
}
|
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
|
||||||
private void load()
|
|
||||||
{
|
|
||||||
textFlow.Colour = Color4.White.Opacity(0.75f);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private class DimmedLoadingAnimation : VisibilityContainer
|
private class DimmedLoadingAnimation : VisibilityContainer
|
||||||
|
Reference in New Issue
Block a user