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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user