From 154a85cd4179c7915ba91ab54638314642551989 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Fri, 19 Apr 2024 12:59:30 -0600 Subject: [PATCH] Fix obsolete variable name --- loveframes/skins/Clock/skin.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/loveframes/skins/Clock/skin.lua b/loveframes/skins/Clock/skin.lua index c00ed44..6f9891d 100644 --- a/loveframes/skins/Clock/skin.lua +++ b/loveframes/skins/Clock/skin.lua @@ -108,14 +108,14 @@ function skin.collapsiblecategory(object) love.graphics.setFont(skin.controls.small_font) printOnPixel(text, x + offset, y + offset) - local arrow + local icon if open then - arrow = "–" + icon = "–" else - arrow = "+" + icon = "+" end - local arrowWidth = skin.controls.button_text_font:getWidth(arrow) - printOnPixel(arrow, x + width - arrowWidth - offset, y + offset) + local arrowWidth = skin.controls.button_text_font:getWidth(icon) + printOnPixel(icon, x + width - arrowWidth - offset, y + offset) end -- Taken from the included Blue theme by Nikolai Resokav.