mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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)
|
private ExposedPlayer loadBeatmap(bool userHasCustomColours, bool beatmapHasColours)
|
||||||
{
|
{
|
||||||
ExposedPlayer player;
|
ExposedPlayer player;
|
||||||
|
OsuScreenStack stack;
|
||||||
|
|
||||||
Beatmap.Value = new CustomSkinWorkingBeatmap(audio, beatmapHasColours);
|
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;
|
return player;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ namespace osu.Game.Screens
|
|||||||
[Cached]
|
[Cached]
|
||||||
private BackgroundScreenStack backgroundScreenStack;
|
private BackgroundScreenStack backgroundScreenStack;
|
||||||
|
|
||||||
private ParallaxContainer parallaxContainer;
|
private readonly ParallaxContainer parallaxContainer;
|
||||||
|
|
||||||
protected float ParallaxAmount => parallaxContainer.ParallaxAmount;
|
protected float ParallaxAmount => parallaxContainer.ParallaxAmount;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user