Add keyboard shortcut for "hide" action (#5248)

* implement hide shortcut

* remove parens
This commit is contained in:
RickyRister 2024-12-15 12:34:33 -08:00 committed by GitHub
parent a0f74134bb
commit 5f8bcbd02d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -896,6 +896,7 @@ void Player::setShortcutsActive()
shortcutsActive = true;
ShortcutsSettings &shortcuts = SettingsCache::instance().shortcuts();
aHide->setShortcuts(shortcuts.getShortcut("Player/aHide"));
aPlay->setShortcuts(shortcuts.getShortcut("Player/aPlay"));
aTap->setShortcuts(shortcuts.getShortcut("Player/aTap"));
aDoesntUntap->setShortcuts(shortcuts.getShortcut("Player/aDoesntUntap"));