增加mStr绘制字符串限制宽度

This commit is contained in:
MrZ626
2020-11-01 14:27:10 +08:00
parent c9fd340646
commit df416e7757

View File

@@ -581,7 +581,7 @@ function toTime(s)
end
end
function mStr(s,x,y)
gc.printf(s,x-450,y,900,"center")
gc.printf(s,x-626,y,1252,"center")
end
function mText(s,x,y)
gc.draw(s,x-s:getWidth()*.5,y)