1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 20:22:55 +08:00

Set BeatmapSetHeaderContent details to not show modded values

This commit is contained in:
Adam Baker 2022-07-22 05:43:56 -05:00
parent 28586c704d
commit d9d35bb847
2 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ namespace osu.Game.Overlays.BeatmapSet
TextSize = 14, TextSize = 14,
TextPadding = new MarginPadding { Horizontal = 35, Vertical = 10 } TextPadding = new MarginPadding { Horizontal = 35, Vertical = 10 }
}, },
Details = new Details(), Details = new Details(false),
}, },
}, },
} }

View File

@ -59,7 +59,7 @@ namespace osu.Game.Overlays.BeatmapSet
ratingBox.Alpha = BeatmapSet?.Status > 0 ? 1 : 0; ratingBox.Alpha = BeatmapSet?.Status > 0 ? 1 : 0;
} }
public Details() public Details(bool updateWithModSelection = true)
{ {
Width = BeatmapSetOverlay.RIGHT_WIDTH; Width = BeatmapSetOverlay.RIGHT_WIDTH;
AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;
@ -82,7 +82,7 @@ namespace osu.Game.Overlays.BeatmapSet
}, },
new DetailBox new DetailBox
{ {
Child = advanced = new AdvancedStats Child = advanced = new AdvancedStats(updateWithModSelection)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y, AutoSizeAxes = Axes.Y,