Remove NXXM. Execute IWYU. (#397)

This commit is contained in:
Arthur Sonzogni
2022-05-08 08:44:38 +02:00
committed by GitHub
parent a6e04b4346
commit c033ca61ae
20 changed files with 30 additions and 29 deletions

View File

@@ -115,8 +115,9 @@ class MenuBase : public ComponentBase {
bool is_focused = (focused_entry() == i) && is_menu_focused;
bool is_selected = (*selected_ == i);
auto focus_management =
!is_selected ? nothing : is_menu_focused ? focus : nothing;
auto focus_management = !is_selected ? nothing
: is_menu_focused ? focus
: nothing;
EntryState state = {
entries_[i],
false,