mirror of
https://github.com/ppy/osu
synced 2025-02-06 13:22:14 +00:00
Fix z-order of mod preview panel
This commit is contained in:
parent
0822e8b925
commit
3deb6cb4ec
@ -227,27 +227,6 @@ namespace osu.Game.Overlays.Mods
|
||||
}
|
||||
});
|
||||
|
||||
if (ShowModEffects)
|
||||
{
|
||||
aboveColumnsContent.Add(multiplierDisplay = new DifficultyMultiplierDisplay
|
||||
{
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight
|
||||
});
|
||||
|
||||
FooterContent.Add(modEffectPreviewPanel = new ModEffectPreviewPanel
|
||||
{
|
||||
Anchor = Anchor.BottomRight,
|
||||
Origin = Anchor.BottomRight,
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Vertical = PADDING,
|
||||
Horizontal = 70
|
||||
},
|
||||
BeatmapInfo = { Value = beatmap?.BeatmapInfo }
|
||||
});
|
||||
}
|
||||
|
||||
FooterContent.Add(footerButtonFlow = new FillFlowContainer<ShearedButton>
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
@ -270,6 +249,27 @@ namespace osu.Game.Overlays.Mods
|
||||
})
|
||||
});
|
||||
|
||||
if (ShowModEffects)
|
||||
{
|
||||
aboveColumnsContent.Add(multiplierDisplay = new DifficultyMultiplierDisplay
|
||||
{
|
||||
Anchor = Anchor.TopRight,
|
||||
Origin = Anchor.TopRight
|
||||
});
|
||||
|
||||
FooterContent.Add(modEffectPreviewPanel = new ModEffectPreviewPanel
|
||||
{
|
||||
Anchor = Anchor.BottomRight,
|
||||
Origin = Anchor.BottomRight,
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Vertical = PADDING,
|
||||
Horizontal = 70
|
||||
},
|
||||
BeatmapInfo = { Value = beatmap?.BeatmapInfo }
|
||||
});
|
||||
}
|
||||
|
||||
globalAvailableMods.BindTo(game.AvailableMods);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user