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

This commit is contained in:
eafonyang
2026-10-16 17:32:28 +08:00
parent 30355a8e63
commit 33aab06ce9
+2 -2
View File
@@ -290,14 +290,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);