-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(hotkeys): fortify source checking, update mappings, etc
* Fortifies checking for a source's type in case it cannot be found in the service (it has happened). * Fix action names for `TOGGLE_MUTE` and `TOGGLE_UNMUTE`. * Track added hotkeys on a set for the time being, ensuring we don't add duplicates coming from OBS that we're already handling. * Add explicit check for whether the returned item belongs to a scene hotkey. Please notice that currently identifying which kind of hotkey we got from the backend is factorial as we don't seem to have a better way to get this info from the backend. The number of hotkeys affected by this is minimal (the main reason we're sticking to the former loops for now) but could still be significant. I have not, however, profiled this.
- Loading branch information
1 parent
e234d22
commit 01c7b61
Showing
1 changed file
with
47 additions
and
28 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