1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 14:23:14 +08:00

Remove outdated comment logic

This commit is contained in:
Dean Herbert 2020-10-19 13:04:12 +09:00
parent e662dc5342
commit 4590d9b93b

View File

@ -762,7 +762,6 @@ namespace osu.Game.Screens.Select
// scroll position at currentY makes the set panel appear at the very top of the carousel's screen space // scroll position at currentY makes the set panel appear at the very top of the carousel's screen space
// move down by half of visible height (height of the carousel's visible extent, including semi-transparent areas) // move down by half of visible height (height of the carousel's visible extent, including semi-transparent areas)
// then reapply the top semi-transparent area (because carousel's screen space starts below it) // then reapply the top semi-transparent area (because carousel's screen space starts below it)
// and finally add half of the panel's own height to achieve vertical centering of the panel itself
scrollTarget = currentY + DrawableCarouselBeatmapSet.HEIGHT - visibleHalfHeight + BleedTop; scrollTarget = currentY + DrawableCarouselBeatmapSet.HEIGHT - visibleHalfHeight + BleedTop;
foreach (var b in set.Beatmaps) foreach (var b in set.Beatmaps)