Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 22e4de3

Browse files
fix: color change listener
1 parent 6b5b9b5 commit 22e4de3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

studio/src/app/components/editor/app-editor-toolbar/app-editor-toolbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class AppEditorToolbar {
105105
}
106106
}
107107

108-
@Listen('mouseInactivity', { target: 'document' })
108+
@Listen('mouseInactivity', {target: 'document'})
109109
async inactivity($event: CustomEvent) {
110110
if (!DeckDeckGoUtils.isFullscreen()) {
111111
return;
@@ -482,7 +482,7 @@ export class AppEditorToolbar {
482482
});
483483
}
484484

485-
@Listen('colorDidChange')
485+
@Listen('colorDidChange', {target: 'document'})
486486
async onColorDidChange(_element: HTMLElement) {
487487
await this.emitChange();
488488
}

0 commit comments

Comments
 (0)