mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Update to Angular 14
This commit is contained in:
@@ -69,7 +69,7 @@ export class MouseController implements InputController {
|
||||
this.manager.setValue(button, 0);
|
||||
}
|
||||
}
|
||||
private mousewheel: any = (e: MouseWheelEvent) => {
|
||||
private mousewheel: any = (e: WheelEvent) => {
|
||||
this.manager.addValue(Key.MOUSE_WHEEL_X, clamp(e.deltaX, -1, 1));
|
||||
this.manager.addValue(Key.MOUSE_WHEEL_Y, clamp(e.deltaY, -1, 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user