From e641cdd3bd8b3477ecfa140565adf6b0d470ffab Mon Sep 17 00:00:00 2001 From: Lars Baunwall Date: Sat, 24 Feb 2024 00:47:46 +0100 Subject: [PATCH] Fix event type --- src/ui/src/views/DeviceSimulator.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/src/views/DeviceSimulator.vue b/src/ui/src/views/DeviceSimulator.vue index e52e115..a7979dc 100644 --- a/src/ui/src/views/DeviceSimulator.vue +++ b/src/ui/src/views/DeviceSimulator.vue @@ -5,7 +5,7 @@ import {Wheel} from "../hardware/events.ts"; const uiStore = useUIStore(); -const handleAngularWheelChange = (e: InputEvent) => { +const handleAngularWheelChange = (e: Event) => { const val = Number((e.target as HTMLInputElement).value); uiStore.nextHardwareEvent({payload: {kind: 'wheel', source: Wheel.Angular, value: val}}) };