Add keyboard shortcuts to fun picker

This commit is contained in:
Jamie Kyle 2025-05-13 10:33:25 -07:00 committed by GitHub
commit 16f9b64435
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 2 deletions

View file

@ -41,12 +41,15 @@ type KeyType =
| 'L'
| 'M'
| 'N'
| 'O'
| 'P'
| 'Q'
| 'R'
| 'S'
| 'T'
| 'U'
| 'V'
| 'W'
| 'X'
| 'Y'
| '1 to 9';
@ -154,6 +157,11 @@ function getNavigationShortcuts(i18n: LocalizerType): Array<ShortcutType> {
{
id: 'Keyboard--open-sticker-chooser',
description: i18n('icu:Keyboard--open-sticker-chooser'),
keys: [['commandOrCtrl', 'shift', 'O']],
},
{
id: 'Keyboard--open-gif-chooser',
description: i18n('icu:Keyboard--open-gif-chooser'),
keys: [['commandOrCtrl', 'shift', 'G']],
},
{