Fix obsolete variable name

This commit is contained in:
Brandon Dyck 2024-04-19 12:59:30 -06:00
parent 2e2d63dfd7
commit 154a85cd41

View File

@ -108,14 +108,14 @@ function skin.collapsiblecategory(object)
love.graphics.setFont(skin.controls.small_font) love.graphics.setFont(skin.controls.small_font)
printOnPixel(text, x + offset, y + offset) printOnPixel(text, x + offset, y + offset)
local arrow local icon
if open then if open then
arrow = "" icon = ""
else else
arrow = "+" icon = "+"
end end
local arrowWidth = skin.controls.button_text_font:getWidth(arrow) local arrowWidth = skin.controls.button_text_font:getWidth(icon)
printOnPixel(arrow, x + width - arrowWidth - offset, y + offset) printOnPixel(icon, x + width - arrowWidth - offset, y + offset)
end end
-- Taken from the included Blue theme by Nikolai Resokav. -- Taken from the included Blue theme by Nikolai Resokav.