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:
parent
28586c704d
commit
d9d35bb847
@ -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),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user