Skip to content

Commit f864352

Browse files
authored
Merge pull request #7 from G33ks/main
Fix #6 for RubyTextMeshProUGUI
2 parents cb146fa + b9e6c32 commit f864352

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Assets/RubyTextMeshPro/Source/RubyTextMeshProUGUI.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public override void ForceMeshUpdate(bool ignoreActiveState = false, bool forceT
5959
if (m_enableAutoSizing)
6060
{
6161
// change auto size timing, update ruby tag size.
62-
SetTextCustom(m_uneditedText);
62+
text = ReplaceRubyTags(m_uneditedText);
63+
base.ForceMeshUpdate(ignoreActiveState,forceTextReparsing);
6364
}
6465
}
6566

0 commit comments

Comments
 (0)