1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 22:33:47 +08:00

Fix missed issues

This commit is contained in:
Dean Herbert
2020-01-31 21:36:19 +09:00
Unverified
parent 19f516e710
commit a66cdee5e9
2 changed files with 5 additions and 2 deletions
@@ -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;
}
+1 -1
View File
@@ -13,7 +13,7 @@ namespace osu.Game.Screens
[Cached]
private BackgroundScreenStack backgroundScreenStack;
private ParallaxContainer parallaxContainer;
private readonly ParallaxContainer parallaxContainer;
protected float ParallaxAmount => parallaxContainer.ParallaxAmount;