fix: fix circle initial size
This commit is contained in:
parent
1b0091937f
commit
f59ebd11e5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ function DefaultTransition:drawCanvas()
|
||||||
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
love.graphics.rectangle("fill", 0, 0, 424, 240)
|
||||||
utils.graphics.resetColor()
|
utils.graphics.resetColor()
|
||||||
local value = 1 - self.value
|
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
|
end
|
||||||
|
|
||||||
return DefaultTransition
|
return DefaultTransition
|
Loading…
Reference in a new issue