Replaced ^ with \n when narrating texts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user