mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(packages): add hotkey bindings to preset skins (#1264)
This commit is contained in:
@@ -24,7 +24,11 @@ export class HotkeyElement extends MediaElement {
|
||||
target: 'player' | 'document' = 'player';
|
||||
|
||||
readonly #player = new PlayerController(this, playerContext);
|
||||
readonly #container = new ContextConsumer(this, { context: containerContext, subscribe: true });
|
||||
readonly #container = new ContextConsumer(this, {
|
||||
context: containerContext,
|
||||
callback: () => this.requestUpdate(),
|
||||
subscribe: true,
|
||||
});
|
||||
#cleanup: (() => void) | null = null;
|
||||
|
||||
override connectedCallback(): void {
|
||||
|
||||
Reference in New Issue
Block a user