fix challengewheel #11
|
@ -404,7 +404,8 @@ draw_challenge = function(challenge, x, y, w, h, selected)
|
||||||
for i, chart in ipairs(challengeCache[challenge.id]["charts"]) do
|
for i, chart in ipairs(challengeCache[challenge.id]["charts"]) do
|
||||||
local ypos = offsetY + paddingY * (i - 1)
|
local ypos = offsetY + paddingY * (i - 1)
|
||||||
|
|
||||||
DiffRectangle.render(timer, offsetX, ypos, diffIconScale, chart.difficulty, chart.level)
|
local adjustedDiff = GetDisplayDifficulty(chart.jacketPath, chart.diff)
|
||||||
|
DiffRectangle.render(timer, offsetX, ypos, diffIconScale, adjustedDiff, chart.level)
|
||||||
|
|
||||||
local _, titleHeight = gfx.LabelSize(chart.title)
|
local _, titleHeight = gfx.LabelSize(chart.title)
|
||||||
gfx.TextAlign(gfx.TEXT_ALIGN_CENTER | gfx.TEXT_ALIGN_MIDDLE)
|
gfx.TextAlign(gfx.TEXT_ALIGN_CENTER | gfx.TEXT_ALIGN_MIDDLE)
|
||||||
|
|
Loading…
Reference in New Issue