Commit 4ed69ce
committed
Control panel: TAB focus follows on-screen cab order
controllableCabs() enumerated world.elevators (insertion order) while
the panels render world.sortedElevators (local-first, then by label), so
TAB advanced FOCUSED CAB to the next cab in insertion order rather than
the one visually below. Walk sortedElevators so focus moves down the
list as displayed.1 parent 07a8862 commit 4ed69ce
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| |||
0 commit comments