Fix setX -> getX

This commit is contained in:
Gabriel Tofvesson 2024-10-12 00:15:39 +02:00
parent 0bd63f6804
commit 7cd370e8ef

View File

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