Skip to content

Commit b9e6c32

Browse files
committed
Fix #6 for RubyTextMeshProUGUI
Just applying the fix #6 to the RubyTextMeshProUGUI component.
1 parent cb146fa commit b9e6c32

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)