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:
parent
e662dc5342
commit
4590d9b93b
@ -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
|
||||
// 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)
|
||||
// and finally add half of the panel's own height to achieve vertical centering of the panel itself
|
||||
scrollTarget = currentY + DrawableCarouselBeatmapSet.HEIGHT - visibleHalfHeight + BleedTop;
|
||||
|
||||
foreach (var b in set.Beatmaps)
|
||||
|
Loading…
Reference in New Issue
Block a user