Fix type casting issue when calculating static fader values

This commit is contained in:
2026-07-14 11:49:34 +02:00
parent 82a4c73295
commit ab6b318da8
2 changed files with 2 additions and 7 deletions

View File

@@ -643,10 +643,7 @@ async function buildTrack(
if (exporterParams.includeArchivedSamples) {
for (const parameter of [FaderParam.LPF, FaderParam.HPF] as const) {
const staticValue = canonicalizeFilterFaderValue(
parameter,
koTrack.faderParams[parameter],
);
const staticValue = canonicalizeFilterFaderValue(parameter, koTrack.faderParams[parameter]);
const defaultValue = getFaderDefaultValue(parameter);
const hasAutomation = automatedParameters.has(parameter);
if (hasAutomation || (staticValue !== -1 && staticValue !== defaultValue)) {