From b5dc4daaf51ab651e0ccf58ef482ae8df03c1f27 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 19 Aug 2020 19:43:10 +0200 Subject: [PATCH] fix: make shadow font filter works --- sonic-radiance.love/core/modules/assets/fonts.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-radiance.love/core/modules/assets/fonts.lua b/sonic-radiance.love/core/modules/assets/fonts.lua index c527144..719dfaa 100644 --- a/sonic-radiance.love/core/modules/assets/fonts.lua +++ b/sonic-radiance.love/core/modules/assets/fonts.lua @@ -141,7 +141,7 @@ end function Font:applyFilterShadow(text, x, y, limit, align, r, sx, sy, ox, oy, kx, ky) love.graphics.setColor(0, 0, 0, 1) - self:printf(text, x+1, y+1, limit, align, align, r, sx, sy, ox, oy, kx, ky) + self:printf(text, x+1, y+1, limit, align, r, sx, sy, ox, oy, kx, ky) utils.graphics.resetColor() end