mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:13:00 +08:00
Fix uncaught inconsistent naming
This commit is contained in:
parent
da2c245083
commit
17978035ea
@ -18,11 +18,11 @@ namespace osu.Game.Overlays
|
|||||||
protected IAPIProvider API { get; private set; }
|
protected IAPIProvider API { get; private set; }
|
||||||
|
|
||||||
[Cached]
|
[Cached]
|
||||||
protected readonly OverlayColourProvider colourProvider;
|
protected readonly OverlayColourProvider ColourProvider;
|
||||||
|
|
||||||
protected FullscreenOverlay(OverlayColourScheme colourScheme)
|
protected FullscreenOverlay(OverlayColourScheme colourScheme)
|
||||||
{
|
{
|
||||||
colourProvider = new OverlayColourProvider(colourScheme);
|
ColourProvider = new OverlayColourProvider(colourScheme);
|
||||||
|
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
RelativePositionAxes = Axes.Both;
|
RelativePositionAxes = Axes.Both;
|
||||||
@ -43,10 +43,10 @@ namespace osu.Game.Overlays
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
Waves.FirstWaveColour = colourProvider.Light4;
|
Waves.FirstWaveColour = ColourProvider.Light4;
|
||||||
Waves.SecondWaveColour = colourProvider.Light3;
|
Waves.SecondWaveColour = ColourProvider.Light3;
|
||||||
Waves.ThirdWaveColour = colourProvider.Dark4;
|
Waves.ThirdWaveColour = ColourProvider.Dark4;
|
||||||
Waves.FourthWaveColour = colourProvider.Dark3;
|
Waves.FourthWaveColour = ColourProvider.Dark3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Show()
|
public override void Show()
|
||||||
|
@ -73,7 +73,7 @@ namespace osu.Game.Overlays
|
|||||||
Add(new Box
|
Add(new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = colourProvider.Background6
|
Colour = ColourProvider.Background6
|
||||||
});
|
});
|
||||||
|
|
||||||
Add(sectionsContainer = new ProfileSectionsContainer
|
Add(sectionsContainer = new ProfileSectionsContainer
|
||||||
@ -83,7 +83,7 @@ namespace osu.Game.Overlays
|
|||||||
HeaderBackground = new Box
|
HeaderBackground = new Box
|
||||||
{
|
{
|
||||||
// this is only visible as the ProfileTabControl background
|
// this is only visible as the ProfileTabControl background
|
||||||
Colour = colourProvider.Background5,
|
Colour = ColourProvider.Background5,
|
||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user