mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Currently, tabbing through egui demo app, there are a lot of widgets that have invisible focus. Tabbing into a window for example takes 10 (!) presses of the tab key before the first widget within the window is focused. Before that, the focus moves to each resize handle, the scroll area and the scroll bar. At that point a user might think the focus is entirely broken. This pr removes the focusable sense from all these elements. Anything that can be focused should somehow indicate that it currently has focus, or the user could get frustrated. It also adds a debug flag to always show the focused widget, so it's easier to debug these cases