From db6b0a5ed63b80b4c75eb1d8952ff85e8cae6a7f Mon Sep 17 00:00:00 2001 From: Florian Demmer Date: Tue, 25 Jun 2024 18:49:06 +0100 Subject: [PATCH] remove accidental dataref setting throttle --- src/actions/instances.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/instances.ts b/src/actions/instances.ts index 26d27b3..0aa3602 100644 --- a/src/actions/instances.ts +++ b/src/actions/instances.ts @@ -253,7 +253,7 @@ export const setInstanceParameterValueNormalizedOnRemote = throttle((instance: I dispatch(setInstance(instance.setParameterNormalizedValue(param.id, value))); }, 100); -export const setInstanceDataRefValueOnRemote = throttle((instance: InstanceStateRecord, dataref: DataRefRecord, file?: DataFileRecord): AppThunk => +export const setInstanceDataRefValueOnRemote = (instance: InstanceStateRecord, dataref: DataRefRecord, file?: DataFileRecord): AppThunk => () => { const message = { @@ -264,7 +264,7 @@ export const setInstanceDataRefValueOnRemote = throttle((instance: InstanceState }; oscQueryBridge.sendPacket(writePacket(message)); - }, 100); + }; export const setInstanceParameterMetaOnRemote = (_instance: InstanceStateRecord, param: ParameterRecord, value: string): AppThunk => () => {