14 lines
493 B
TypeScript
14 lines
493 B
TypeScript
import { watch } from '@common/utils/vueTools'
|
|
import { setLyric, setVertical } from '@lyric/core/lyric'
|
|
import { setting } from '@lyric/store/state'
|
|
|
|
export default () => {
|
|
watch(() => setting['player.isShowLyricTranslation'], setLyric)
|
|
watch(() => setting['player.isShowLyricRoma'], setLyric)
|
|
watch(() => setting['player.isPlayLxlrc'], setLyric)
|
|
watch(() => setting['desktopLyric.direction'], (direction) => {
|
|
setVertical(direction == 'vertical')
|
|
// if (isPlay.value)
|
|
})
|
|
}
|