From 79b7d2a133a566fbc10666ea5b74b4d15d28e481 Mon Sep 17 00:00:00 2001 From: Florrie Date: Mon, 30 Sep 2019 16:28:23 -0300 Subject: Make menubar select first item, like context menus This also tidies up the logic for changing the selected element from context menus to the menubar, fixing a bug where the menubar forgets which element was selected before it, and not re-introducing the bug which the complex logic fixed in the first place (which was the menubar seeing the context menu as the previously selected element, when the menu will be destroyed by the time the menubar restores its selection). --- todo.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'todo.txt') diff --git a/todo.txt b/todo.txt index 8a86e5f..e95a8e7 100644 --- a/todo.txt +++ b/todo.txt @@ -420,3 +420,4 @@ TODO: Investigate menubar UX - now that it uses KeyboardSelector, it's very comparable in interaction to ContextMenus. To match context menus, should we make its selection index reset to zero (i.e. the 'mtui' option) whenever it's selected (via the keyboard)? + (Done! Decided yes.) -- cgit 1.3.0-6-gf8a5