No more countless annoying 'audio not found' warnings
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
(_withoutForbiddenCharacters text (.split "#%&{}\\<>*?/\$!'\":@+`|=" "")))
|
||||
|
||||
(method :Void playScreenReaderText [text &opt :Void->Void cc]
|
||||
(unless (< 0 (Lambda.count screenReaderAudio)) (return))
|
||||
// stop any currently playing text
|
||||
// TODO is it right that the cc will never be called?
|
||||
(currentAudio?.stop)
|
||||
|
||||
Reference in New Issue
Block a user