Skip to content

Commit e44e6a6

Browse files
committed
fix/lyrics: slogan & lyrics are not exclusive properly
1 parent db3ea0c commit e44e6a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/lyrics/LyricsDispatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class LyricsDispatcher extends EventTarget {
1313

1414
set lyrics(value) {
1515
this._lyrics = value;
16-
if (value) this._slogan = null;
16+
if (value) this.slogan = null;
1717
this.dispatchEvent(
1818
new CustomEvent("lyricsupdate", {
1919
detail: value,
@@ -27,7 +27,7 @@ export default class LyricsDispatcher extends EventTarget {
2727

2828
set slogan(value) {
2929
this._slogan = value;
30-
if (value) this._lyrics = null;
30+
if (value) this.lyrics = null;
3131
this.dispatchEvent(
3232
new CustomEvent("sloganupdate", {
3333
detail: value,

0 commit comments

Comments
 (0)