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:
parent
5d3fa51360
commit
13234fb4a4
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user