From 42ad13dc3cdf691fcbce809ac586f2d98460a66a Mon Sep 17 00:00:00 2001 From: qier222 Date: Fri, 12 Mar 2021 22:11:49 +0800 Subject: [PATCH] fix: bugs --- .github/workflows/build.yaml | 5 +++-- src/views/lyrics.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f471b6c..d5c1adc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [macos-latest, windows-latest, ubuntu-16.04] steps: - name: Check out Git repository @@ -24,7 +24,8 @@ jobs: run: | sudo apt-get update && sudo apt-get install --no-install-recommends -y rpm && - sudo apt-get install --no-install-recommends -y bsdtar + sudo apt-get install --no-install-recommends -y bsdtar && + sudo apt-get install --no-install-recommends -y libopenjp2-tools - name: Install Snapcraft (on Ubuntu) uses: samuelmeuli/action-snapcraft@v1 diff --git a/src/views/lyrics.vue b/src/views/lyrics.vue index e0750ac..1f89eef 100644 --- a/src/views/lyrics.vue +++ b/src/views/lyrics.vue @@ -234,7 +234,7 @@ export default { }, lyricFontSize() { return { - fontSize: this.$store.state.settings.lyricFontSize + "px", + fontSize: `${this.$store.state.settings.lyricFontSize || 28}px`, }; }, playerRef() {