Remove char name from the TTS if it is hidden from display with power user setting

This commit is contained in:
Cohee
2023-06-15 15:04:09 +03:00
parent 2f6ed2c91c
commit 8e468908c0
2 changed files with 13 additions and 1 deletions

View File

@ -431,3 +431,7 @@ export function getCharaFilename() {
return fileName.replace(/\.[^/.]+$/, "")
}
}
export function escapeRegex(string) {
return string.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&');
}