Commit Graph

8 Commits

Author SHA1 Message Date
977b3407ea Don't automatically grab keyboard focus on mouse-enter, since that seems to interfere with keyboard traversal somehow. 2019-09-21 08:58:03 -05:00
de2f22b0c2 Only speak tab changes if tabs have focus. 2019-09-21 08:54:12 -05:00
77db176e20 For trees allowing multiple selection, force selection of a single row for now.
I'm not immediately sure how to present multiple tree selections. I also don't know if I can control selection status from the input events. So, for the time being, we force a single row to be selected. This isn't the most ideal solution, but it makes debugging other issues easier, so I'll use it for now to unblock other work.
2019-09-20 10:28:17 -05:00
f11edefdb5 Speak classes of controls for which we don't have a handler, and minor naming cleanup. 2019-09-20 08:55:47 -05:00
56a7652656 Assorted changes:
* Use new TTS.gd script rather than loading directly. TTS.gd gives us flexibility to handle TTS with the native Rust plugin on some platforms, something like a Java module under Android, etc.
 * Make `Panel` focusable. This handles the case where exiting a game from the editor places focus on an element without focus, thus breaking keyboard navigation.
 * Log when we attempt to grab focus so I can debug cases where focus tries to go somewhere it can't.
2019-09-17 10:42:58 -05:00
d481e74261 Clean up node presentation.
* Concatenate tokens then join them, rather than building up strings token by token and conditionally presenting them.
 * Present `hint_tooltip` in lieu of text in some cases, and don't present it again afterwards.
2019-09-09 21:36:09 -05:00
11a8dc7aa2 Add _Menu_ as keyboard shortcut to perform right-click. Also, clean up PopupMenu presentation to speak shortcut names. 2019-09-09 20:58:24 -05:00
d42d913f29 Remove sample game and refactor plugin for use in separate games. The standalone game will probably be refactored to an accessible starter game. 2019-09-09 14:53:44 -05:00