1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Adjust comments a bit

This commit is contained in:
smoogipoo 2019-06-12 16:07:35 +09:00
parent 5d3fa51360
commit 13234fb4a4
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ namespace osu.Game.Screens.Select
int? previouslySelectedID = null;
CarouselBeatmapSet existingSet = beatmapSets.FirstOrDefault(b => b.BeatmapSet.ID == beatmapSet.ID);
// Since we're about to remove the selected beatmap, store its ID so we can go back if needed.
// If the selected beatmap is about to be removed, store its ID so it can be re-selected if required
if (existingSet?.State?.Value == CarouselItemState.Selected)
previouslySelectedID = selectedBeatmap?.Beatmap.ID;

View File

@ -594,7 +594,7 @@ namespace osu.Game.Screens.Select
{
bindBindables();
// As a selection was already obtained, do not attempt to update the selected beatmap.
// If a selection was already obtained, do not attempt to update the selected beatmap.
if (Carousel.SelectedBeatmapSet != null)
return;