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()