Skip to content

Commit

Permalink
Fix event type
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbaunwall committed Feb 23, 2024
1 parent dcaee9a commit e641cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/src/views/DeviceSimulator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}})
};
Expand Down

0 comments on commit e641cdd

Please sign in to comment.