修正标题图像素材首字母偏低 close #485

This commit is contained in:
MrZ626
2021-11-24 19:39:38 +08:00
parent c92f15156b
commit 8adeb99be7

View File

@@ -75,7 +75,7 @@ do
for i=1,#SVG_TITLE_FILL do
local triangles=love.math.triangulate(SVG_TITLE_FILL[i])
gc.translate(12*i,i==1 and 8 or 14)
gc.translate(12*i,0)
gc.setColor(COLOR.Z)
gc.polygon('line',SVG_TITLE_FILL[i])
@@ -85,7 +85,7 @@ do
gc.polygon('fill',triangles[j])
end
gc.translate(-12*i,i==1 and -8 or -14)
gc.translate(-12*i,0)
end
end
@@ -96,7 +96,7 @@ do
for i=1,8 do
local triangles=love.math.triangulate(SVG_TITLE_FILL[i])
gc.translate(12*i,i==1 and 8 or 14)
gc.translate(12*i,0)
gc.setLineWidth(12)
gc.setColor(COLOR.Z)
@@ -113,7 +113,7 @@ do
gc.polygon('fill',triangles[j])
end
gc.translate(-12*i,i==1 and -8 or -14)
gc.translate(-12*i,0)
end
end