Replaced ^ with \n when narrating texts
parent
b600eda78e
commit
5205df8400
|
@ -68,6 +68,8 @@ namespace stardew_access.ScreenReader
|
|||
if (!MainClass.Config.TTS)
|
||||
return;
|
||||
|
||||
if (text.Contains('^')) text = text.Replace('^', '\n');
|
||||
|
||||
GoString str = new GoString(text, text.Length);
|
||||
Speak(str, interrupt);
|
||||
}
|
||||
|
|
|
@ -65,6 +65,8 @@ namespace stardew_access.ScreenReader
|
|||
if (!MainClass.Config.TTS)
|
||||
return;
|
||||
|
||||
if (text.Contains('^')) text = text.Replace('^', '\n');
|
||||
|
||||
screenReader.Speak(text, interrupt);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue