From f59ebd11e5745860604cc13a5af178adbd649a51 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 5 Apr 2021 12:29:34 +0200 Subject: [PATCH] fix: fix circle initial size --- sonic-radiance.love/core/modules/transitions/circle.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-radiance.love/core/modules/transitions/circle.lua b/sonic-radiance.love/core/modules/transitions/circle.lua index c84fe45..c3ff2fe 100644 --- a/sonic-radiance.love/core/modules/transitions/circle.lua +++ b/sonic-radiance.love/core/modules/transitions/circle.lua @@ -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 \ No newline at end of file