diff --git a/stepmania/Themes/default/metrics.ini b/stepmania/Themes/default/metrics.ini index dd8dd68561..045e41c17b 100644 --- a/stepmania/Themes/default/metrics.ini +++ b/stepmania/Themes/default/metrics.ini @@ -4374,7 +4374,7 @@ ShowExitRow=0 FrameOnCommand= FrameOffCommand= NumRowsShown=30 -RowPositionTransformFunction=function(self,positionIndex,itemIndex,numItems) self:y(SCREEN_CENTER_Y-152+20*positionIndex) end +RowPositionTransformFunction=function(self,positionIndex,itemIndex,numItems) local height = scale(numItems,0,30,100,300); self:y( math.floor( scale(itemIndex,0,numItems-1,SCREEN_CENTER_Y-height/2,SCREEN_CENTER_Y+height/2) ) ) end StyleIcon=0 HeaderX=SCREEN_CENTER_X HeaderY=SCREEN_TOP+40