Type assertion for LastPresetRef in Ableton builders

This commit is contained in:
2026-07-14 08:29:53 +02:00
parent f17077b507
commit 0e62cd4c95

View File

@@ -423,7 +423,7 @@ async function buildSimplerDevice(koTrack: AblTrack, abletonVersion: AbletonVers
const simplerFilter = device.Filter.Slot.Value.SimplerFilter;
const playbackDuration = simplerPlaybackDuration(koTrack);
device.LastPresetRef.Value = {};
device.LastPresetRef.Value = {} as any;
device.ShouldShowPresetName['@Value'] = 'false';
device.UserName['@Value'] = '';
loopModulators.SampleStart.Manual['@Value'] = 0;