From 7cd370e8ef7cb43748a893382dbc72a6fd33b277 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sat, 12 Oct 2024 00:15:39 +0200 Subject: [PATCH] Fix setX -> getX --- gfx/progress.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/progress.lua b/gfx/progress.lua index aa95389..1a3baff 100644 --- a/gfx/progress.lua +++ b/gfx/progress.lua @@ -63,7 +63,7 @@ function Progress:_updateProgress() width = round((1 - self:getProgress()) * width, true), height = height } - self.inactive:setX(self.active:setX() + self.active:getWidth()) + self.inactive:setX(self.active:getX() + self.active:getWidth()) end self:_refreshColors()