Jonas Jenwald
fc610d3e59
Add a go to first/last menu-item helper method in the Menu class
...
This fixes a bug when using the <kbd>Home</kbd> and <kbd>End</kbd> keyboard shortcuts to navigate through a `Menu` instance. These two buttons didn't update the `#lastIndex` field, which means that e.g. a following <kbd>ArrowDown</kbd> or <kbd>ArrowUp</kbd> press could make focus "jump" to an unexpected menu-item.
Also, the helper method reduces a little bit of code duplication in the event handlers.
2026-08-03 22:25:52 +02:00
..
2026-07-02 23:00:08 +02:00
2026-07-16 19:37:13 +02:00
2025-01-18 09:35:11 +01:00
2026-05-29 22:11:58 +02:00
2026-07-30 23:13:43 +02:00
2026-05-16 12:31:40 +02:00
2026-05-29 22:11:58 +02:00
2026-06-23 20:48:35 +02:00
2026-06-23 20:48:35 +02:00
2026-07-30 23:13:43 +02:00
2026-07-30 18:37:03 +02:00
2026-08-03 16:38:02 +02:00
2026-02-17 09:42:27 +01:00
2026-06-24 20:16:44 +02:00
2026-03-01 13:01:21 +01:00
2026-07-30 23:13:43 +02:00
2026-04-25 12:13:12 +02:00
2015-08-14 18:59:55 +02:00
2026-07-04 12:25:57 +02:00
2026-07-30 23:13:43 +02:00
2026-03-29 14:52:06 +02:00
2011-07-05 10:53:57 -07:00
2025-08-22 18:26:59 +02:00
2026-07-15 15:24:25 +02:00
2026-07-30 23:13:43 +02:00
2026-07-23 12:44:20 +02:00
2026-07-30 23:13:43 +02:00
2026-02-01 17:56:03 +01:00
2026-06-25 15:55:26 +02:00
2026-06-06 23:41:31 +02:00
2026-05-29 22:11:58 +02:00
2026-07-31 17:37:05 +02:00
2026-07-05 13:43:25 +02:00
2026-06-09 22:08:08 +02:00
2026-07-25 08:43:01 +02:00
2026-04-23 22:34:48 +02:00
2025-04-09 12:06:40 +02:00
2026-07-23 12:44:20 +02:00
2026-02-01 17:53:45 +01:00
2026-06-06 17:27:19 +02:00
2026-05-29 22:11:58 +02:00
2026-02-01 17:53:45 +01:00
2026-07-30 23:13:43 +02:00
2026-08-03 22:25:52 +02:00
2026-07-30 23:13:43 +02:00
2026-05-29 22:11:58 +02:00
2025-02-14 15:43:00 +01:00
2026-06-21 15:30:05 +02:00
2026-06-18 14:51:32 +02:00
2026-05-29 22:11:58 +02:00
2026-05-29 22:11:58 +02:00
2026-02-14 12:33:34 +01:00
2026-07-16 20:45:01 +02:00
2026-07-05 14:37:21 +02:00
2026-05-29 22:11:58 +02:00
2026-05-29 22:11:58 +02:00
2026-07-04 14:49:36 +02:00
2026-06-18 14:51:32 +02:00
2026-06-12 20:10:56 +02:00
2026-07-30 18:37:03 +02:00
2026-06-23 20:48:35 +02:00
2026-06-09 22:08:08 +02:00
2026-02-14 12:33:34 +01:00
2026-04-23 22:34:48 +02:00
2026-08-02 21:27:07 +02:00
2022-09-08 12:38:17 +02:00
2026-05-29 22:11:58 +02:00
2026-07-03 16:18:25 +02:00
2026-07-04 14:49:36 +02:00
2026-02-01 17:56:06 +01:00
2026-07-30 23:13:43 +02:00
2026-07-31 19:59:46 +02:00
2026-07-15 15:24:25 +02:00
2026-01-30 13:26:19 +01:00
2026-05-16 12:31:53 +02:00
2026-02-13 22:34:04 +01:00
2026-05-29 22:11:58 +02:00
2026-07-30 23:13:43 +02:00
2026-03-10 15:51:10 +01:00
2026-07-30 23:13:43 +02:00
2026-05-29 22:11:58 +02:00
2026-07-17 21:23:08 +02:00
2026-06-30 13:25:09 +02:00
2026-06-27 12:20:36 +02:00
2026-05-29 22:11:58 +02:00
2026-06-08 15:14:21 +02:00
2026-07-01 13:14:34 +02:00
2026-07-30 23:13:43 +02:00
2024-03-04 19:32:12 +01:00
2026-05-29 22:11:58 +02:00
2026-02-09 12:16:46 +01:00
2026-05-25 18:22:21 +02:00
2026-08-01 12:19:20 +02:00
2026-07-30 23:13:43 +02:00
2026-07-30 23:13:43 +02:00
2026-02-01 17:56:06 +01:00
2025-11-18 17:22:50 +01:00
2026-05-14 12:50:07 +02:00
2023-10-07 09:31:08 +02:00
2025-11-18 17:22:50 +01:00
2026-07-30 23:13:43 +02:00
2026-07-30 23:13:43 +02:00
2026-07-25 08:43:01 +02:00
2026-07-30 23:13:43 +02:00
2026-05-29 22:11:58 +02:00
2025-04-26 20:44:07 +02:00
2026-05-23 16:33:23 +02:00