forked from miao-moe/QZMusic_PC
fix: 修复
- TopBar边界异常 - 暂时禁用背景的响度效果
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<div class="background-container">
|
<div class="background-container">
|
||||||
<BackgroundRender
|
<BackgroundRender
|
||||||
:album="currentSong?.picUrl"
|
:album="currentSong?.picUrl"
|
||||||
:lowFreqVolume="loudness"
|
:lowFreqVolume="1"
|
||||||
:hasLyric="true"
|
:hasLyric="true"
|
||||||
:playing="isPlaying"
|
:playing="isPlaying"
|
||||||
/>
|
/>
|
||||||
@@ -220,8 +220,6 @@ const playerStore = usePlayerStore();
|
|||||||
const isPlayerFullScreen = computed(() => playerStore.isPlayerFullScreen);
|
const isPlayerFullScreen = computed(() => playerStore.isPlayerFullScreen);
|
||||||
const currentSong = computed(() => playerStore.currentSong);
|
const currentSong = computed(() => playerStore.currentSong);
|
||||||
const isPlaying = computed(() => playerStore.isPlaying);
|
const isPlaying = computed(() => playerStore.isPlaying);
|
||||||
const loudness = computed(() => playerStore.loudness);
|
|
||||||
|
|
||||||
const canvasRef = ref<HTMLCanvasElement | null>(null);
|
const canvasRef = ref<HTMLCanvasElement | null>(null);
|
||||||
let animationId: number | null = null;
|
let animationId: number | null = null;
|
||||||
let currentData: number[] = new Array(32).fill(0); // For temporal smoothing
|
let currentData: number[] = new Array(32).fill(0); // For temporal smoothing
|
||||||
|
|||||||
Reference in New Issue
Block a user