diff --git a/Reactor/Patches/Fixes/CursorPosPatch.cs b/Reactor/Patches/Fixes/CursorPosPatch.cs index 623bac1..d8d6880 100644 --- a/Reactor/Patches/Fixes/CursorPosPatch.cs +++ b/Reactor/Patches/Fixes/CursorPosPatch.cs @@ -23,6 +23,7 @@ public static bool Prefix(TextMeshPro self, ref Vector2 __result) if (self.textInfo == null || self.textInfo.lineCount == 0 || self.textInfo.lineInfo[0].characterCount <= 0) { __result = self.GetTextInfo(" ").lineInfo.First().lineExtents.max; + self.text = string.Empty; return false; }