修复了 vu 表灵敏度拖动条步长错误的问题

This commit is contained in:
eafonyang
2026-10-16 17:32:23 +08:00
parent d1b033a1af
commit 4621569eca
+2 -2
View File
@@ -299,14 +299,14 @@ export default function AudioPage() {
<div className="flex items-center justify-between">
<span className="text-[16px] text-white">{dacText.sensitivity ?? "VU 表灵敏度"}</span>
<span className="text-[16px] font-semibold" style={{ color: "#00FFF6" }}>
{localVuSens >= 0 ? `+${localVuSens}` : localVuSens} dB
{localVuSens >= 0 ? `+${localVuSens.toFixed(1)}` : localVuSens.toFixed(1)} dB
</span>
</div>
<CyanSlider
value={localVuSens}
min={-20}
max={20}
step={1}
step={0.5}
onChange={(v) => {
isVuDragging.current = true;
setLocalVuSens(v);