mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-12-22 07:35:56 +00:00
Fix issue where speech is cut off when navigating between tabs.
This commit is contained in:
parent
75844f66d9
commit
323d6bcc25
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user