From 323d6bcc25427685f727a6300c6f8750bdf06773 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 2 Sep 2019 11:08:10 -0500 Subject: [PATCH] Fix issue where speech is cut off when navigating between tabs. --- addons/accessibility/accessible.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/accessibility/accessible.gd b/addons/accessibility/accessible.gd index e8ed9fc..ef2fec6 100644 --- a/addons/accessibility/accessible.gd +++ b/addons/accessibility/accessible.gd @@ -142,10 +142,10 @@ func focus_tab_container(): tts.speak(text, false) func input_tab_container(event): - tts.stop() - var new_tab = node.current_tab if event.echo or not event.pressed: return + tts.stop() + var new_tab = node.current_tab if event.scancode == KEY_RIGHT: new_tab += 1 elif event.scancode == KEY_LEFT: