mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 03:22:54 +08:00
Fix missed issues
This commit is contained in:
parent
19f516e710
commit
a66cdee5e9
@ -63,9 +63,12 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
private ExposedPlayer loadBeatmap(bool userHasCustomColours, bool beatmapHasColours)
|
||||
{
|
||||
ExposedPlayer player;
|
||||
OsuScreenStack stack;
|
||||
|
||||
Beatmap.Value = new CustomSkinWorkingBeatmap(audio, beatmapHasColours);
|
||||
Child = new OsuScreenStack(player = new ExposedPlayer(userHasCustomColours)) { RelativeSizeAxes = Axes.Both };
|
||||
Child = stack = new OsuScreenStack { RelativeSizeAxes = Axes.Both };
|
||||
|
||||
stack.Push(player = new ExposedPlayer(userHasCustomColours));
|
||||
|
||||
return player;
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ namespace osu.Game.Screens
|
||||
[Cached]
|
||||
private BackgroundScreenStack backgroundScreenStack;
|
||||
|
||||
private ParallaxContainer parallaxContainer;
|
||||
private readonly ParallaxContainer parallaxContainer;
|
||||
|
||||
protected float ParallaxAmount => parallaxContainer.ParallaxAmount;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user