fix: fix circle initial size

This commit is contained in:
Kazhnuz 2021-04-05 12:29:34 +02:00
parent 1b0091937f
commit f59ebd11e5

View file

@ -10,7 +10,7 @@ function DefaultTransition:drawCanvas()
love.graphics.rectangle("fill", 0, 0, 424, 240)
utils.graphics.resetColor()
local value = 1 - self.value
love.graphics.circle("fill",self.ox, self.oy, 424 * 1.5 * value)
love.graphics.circle("fill",self.ox, self.oy, (424/2) * 1.5 * value)
end
return DefaultTransition