1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00

remove native screen reader spam

This commit is contained in:
Emil Ernerfeldt
2021-03-09 19:47:41 +01:00
parent bd34cfd43e
commit a8320881ba

View File

@@ -33,6 +33,9 @@ impl ScreenReader {
#[cfg(feature = "screen_reader")]
pub fn speak(&mut self, text: &str) {
if text.is_empty() {
return;
}
if let Some(tts) = &mut self.tts {
eprintln!("Speaking: {:?}", text);
let interrupt = true;