mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add keyboard shortcuts for replays (#5136)
* add keyboard shortcut for play/pause * add keyboard shortcut for fast-forward * make shortcuts rebindable * run formatter
This commit is contained in:
parent
fa999880ee
commit
d26f96db9e
2 changed files with 17 additions and 2 deletions
|
|
@ -257,6 +257,12 @@ void TabGame::refreshShortcuts()
|
|||
if (aFocusChat) {
|
||||
aFocusChat->setShortcuts(shortcuts.getShortcut("tab_game/aFocusChat"));
|
||||
}
|
||||
if (replayPlayButton) {
|
||||
replayPlayButton->setShortcut(shortcuts.getSingleShortcut("Replays/playButton"));
|
||||
}
|
||||
if (replayFastForwardButton) {
|
||||
replayFastForwardButton->setShortcut(shortcuts.getSingleShortcut("Replays/fastForwardButton"));
|
||||
}
|
||||
}
|
||||
|
||||
void DeckViewContainer::loadLocalDeck()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue