0x004BE87B
| 261 | |
| 262 | // 0x004BE87B |
| 263 | static void onScrollMouseDown(Ui::Window& self, [[maybe_unused]] int16_t x, int16_t y, [[maybe_unused]] uint8_t scroll_index) |
| 264 | { |
| 265 | auto row = y / kRowHeight; |
| 266 | |
| 267 | if (row >= self.rowCount) |
| 268 | { |
| 269 | return; |
| 270 | } |
| 271 | |
| 272 | EditKeyboardShortcut::open(row); |
| 273 | } |
| 274 | |
| 275 | static constexpr WindowEventList kEvents = { |
| 276 | .onMouseUp = onMouseUp, |