Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bit of refactoring along with the introduction of keyboard control of replay (`p` to play/pause/resume and `s` to stop). * Approximate constant replay speed Signed-off-by: F.N. Claessen <felix@seita.nl> * Listen to p-key presses to pause/resume Signed-off-by: F.N. Claessen <felix@seita.nl> * Refactor: also start replay when hitting 'p' Signed-off-by: F.N. Claessen <felix@seita.nl> * Refactor: clean up util functions Signed-off-by: F.N. Claessen <felix@seita.nl> * Use stopReplay on calendar selection, too Signed-off-by: F.N. Claessen <felix@seita.nl> * Refactor: simplify for-loop Signed-off-by: F.N. Claessen <felix@seita.nl> * Listen to s-key presses to stop Signed-off-by: F.N. Claessen <felix@seita.nl> * Show previous results when stopping replay Signed-off-by: F.N. Claessen <felix@seita.nl> * Use abort signals to resolve glitches when pressing the next key before resolving promises Signed-off-by: F.N. Claessen <felix@seita.nl> * Changelog entry Signed-off-by: F.N. Claessen <felix@seita.nl> * Add UI hints Signed-off-by: F.N. Claessen <felix@seita.nl> Signed-off-by: F.N. Claessen <felix@seita.nl>
- Loading branch information
Showing
5 changed files
with
150 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters