fix: TextMeshPro strikethrough and underline not displaying

close #344
This commit is contained in:
mob-sakai
2025-05-22 18:28:03 +09:00
parent 5cd48a4633
commit 68ebae28e0
+1 -1
View File
@@ -226,7 +226,7 @@ namespace Coffee.UIEffects
{
var meshInfo = textMeshProUGUI.textInfo.meshInfo[i];
s_VertexHelper.Clear();
meshInfo.mesh.CopyTo(s_VertexHelper, meshInfo.vertexCount, meshInfo.vertexCount * 6 / 4);
meshInfo.mesh.CopyTo(s_VertexHelper);
if (i == 0)
{
foreach (var modifier in modifiers)