mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Remove outdated comment logic
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user