mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-13 11:20:28 +00:00
Fix loose spacers at top of leaderboard score context menu (#36799)
Closes https://github.com/ppy/osu/issues/36777.
This commit is contained in:
@@ -628,7 +628,9 @@ namespace osu.Game.Screens.SelectV2
|
||||
|
||||
if (Score.Files.Count <= 0) return items.ToArray();
|
||||
|
||||
items.Add(new OsuMenuItemSpacer());
|
||||
if (items.Count > 0)
|
||||
items.Add(new OsuMenuItemSpacer());
|
||||
|
||||
items.Add(new OsuMenuItem(SongSelectStrings.WatchReplay, MenuItemType.Standard, () => game?.PresentScore(Score, ScorePresentType.Gameplay)));
|
||||
items.Add(new OsuMenuItem(CommonStrings.Export, MenuItemType.Standard, () => scoreManager.Export(Score)));
|
||||
items.Add(new OsuMenuItem(Resources.Localisation.Web.CommonStrings.ButtonsDelete, MenuItemType.Destructive, () => dialogOverlay?.Push(new LocalScoreDeleteDialog(Score))));
|
||||
|
||||
Reference in New Issue
Block a user