FIX: Output Ramp values & slower debouncing
This commit is contained in:
@@ -101,7 +101,7 @@ const deviceStore = useDeviceStore()
|
||||
// }
|
||||
// }
|
||||
|
||||
const outputRampValues = ref([5, 20, 50, 1000, 10000])
|
||||
const outputRampValues = ref([25, 40, 80, 200, 10000])
|
||||
|
||||
const outputRampIndex = outputRampValues.value.indexOf(deviceStore.activeValue?.haptic?.outputRamp)
|
||||
const outputRampDampening = ref(outputRampIndex === -1 ? 2 : outputRampIndex)
|
||||
|
||||
@@ -646,8 +646,8 @@ export const useDeviceStore = defineStore('device', {
|
||||
}
|
||||
})
|
||||
|
||||
const sendDebounced = useDebounceFn((deviceid, jsonstr) => nanoIpc.send(deviceid, jsonstr), 5, {
|
||||
maxWait: 10
|
||||
const sendDebounced = useDebounceFn((deviceid, jsonstr) => nanoIpc.send(deviceid, jsonstr), 10, {
|
||||
maxWait: 20
|
||||
})
|
||||
|
||||
export const initializeDevices = () => {
|
||||
|
||||
Reference in New Issue
Block a user