fix: make shadow font filter works

This commit is contained in:
Kazhnuz 2020-08-19 19:43:10 +02:00
parent c0daa4e0cb
commit b5dc4daaf5

View file

@ -141,7 +141,7 @@ end
function Font:applyFilterShadow(text, x, y, limit, align, r, sx, sy, ox, oy, kx, ky) function Font:applyFilterShadow(text, x, y, limit, align, r, sx, sy, ox, oy, kx, ky)
love.graphics.setColor(0, 0, 0, 1) 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() utils.graphics.resetColor()
end end