mirror of
https://github.com/ppy/osu
synced 2025-02-22 05:27:05 +00:00
minor design fixes
This commit is contained in:
parent
2e2d4d0d60
commit
0779cd8f4f
@ -222,7 +222,9 @@ namespace osu.Game.Overlays.Mods
|
||||
});
|
||||
}
|
||||
|
||||
FooterContent.Add(mapInfoContainer = new ModMapInfoContainer
|
||||
FooterContent.Children = new Drawable[]
|
||||
{
|
||||
mapInfoContainer = new ModMapInfoContainer
|
||||
{
|
||||
Anchor = Anchor.BottomRight,
|
||||
Origin = Anchor.BottomRight,
|
||||
@ -230,10 +232,9 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
Vertical = PADDING,
|
||||
Horizontal = 70
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
FooterContent.Add(footerButtonFlow = new FillFlowContainer<ShearedButton>
|
||||
footerButtonFlow = new FillFlowContainer<ShearedButton>
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
@ -253,10 +254,12 @@ namespace osu.Game.Overlays.Mods
|
||||
DarkerColour = colours.Pink2,
|
||||
LighterColour = colours.Pink1
|
||||
})
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
globalAvailableMods.BindTo(game.AvailableMods);
|
||||
}
|
||||
|
||||
public override void Hide()
|
||||
{
|
||||
base.Hide();
|
||||
|
@ -308,9 +308,6 @@ namespace osu.Game.Screens.Select
|
||||
// therein it will be registered at the `OsuGame` level to properly function as a blocking overlay.
|
||||
LoadComponent(ModSelect = CreateModSelectOverlay());
|
||||
|
||||
//var bindedStats = BeatmapDetails.Details.GetBindedAdjustedMapStats();
|
||||
//ModSelect.SetBindedMapStats(bindedStats);
|
||||
|
||||
if (Footer != null)
|
||||
{
|
||||
foreach (var (button, overlay) in CreateFooterButtons())
|
||||
@ -586,7 +583,6 @@ namespace osu.Game.Screens.Select
|
||||
FilterControl.Activate();
|
||||
|
||||
ModSelect.SelectedMods.BindTo(selectedMods);
|
||||
//BeatmapDetails.AdjustedInfo.BindTo(adjustedInfo);
|
||||
|
||||
beginLooping();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user