fix: 修复

- TopBar边界异常
- 暂时禁用背景的响度效果
This commit is contained in:
lqtmcstudio
2026-02-06 15:14:34 +08:00
parent 3b19575c4d
commit 199202de62

View File

@@ -11,7 +11,7 @@
<div class="background-container">
<BackgroundRender
:album="currentSong?.picUrl"
:lowFreqVolume="loudness"
:lowFreqVolume="1"
:hasLyric="true"
:playing="isPlaying"
/>
@@ -220,8 +220,6 @@ const playerStore = usePlayerStore();
const isPlayerFullScreen = computed(() => playerStore.isPlayerFullScreen);
const currentSong = computed(() => playerStore.currentSong);
const isPlaying = computed(() => playerStore.isPlaying);
const loudness = computed(() => playerStore.loudness);
const canvasRef = ref<HTMLCanvasElement | null>(null);
let animationId: number | null = null;
let currentData: number[] = new Array(32).fill(0); // For temporal smoothing