@3dsource/angular-unreal-module 0.0.83 → 0.0.84-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3393,7 +3393,6 @@ function provideAngularUnrealModule(config) {
|
|
|
3393
3393
|
},
|
|
3394
3394
|
provideEnvironmentInitializer(() => {
|
|
3395
3395
|
inject(AggregatorService);
|
|
3396
|
-
inject(InputService);
|
|
3397
3396
|
inject(StreamStatusTelemetryService);
|
|
3398
3397
|
inject(ConsoleExtensionsService);
|
|
3399
3398
|
inject(AFKService);
|
|
@@ -4871,9 +4870,11 @@ class UnrealSceneComponent {
|
|
|
4871
4870
|
this.lightMode = this.store.selectSignal(unrealFeature.selectLowBandwidth);
|
|
4872
4871
|
this.isFreezeFrameLoading = this.store.selectSignal(selectIsFreezeFrameLoading);
|
|
4873
4872
|
this.commandsSender = inject(UnrealCommunicatorService);
|
|
4873
|
+
this.inputService = inject(InputService);
|
|
4874
4874
|
this.videoService = inject(VideoService);
|
|
4875
4875
|
this.element = inject(ElementRef);
|
|
4876
4876
|
this.destroyRef = inject(DestroyRef);
|
|
4877
|
+
this.inputService.useKeyboardKeys(this.inputService.defaultKeys);
|
|
4877
4878
|
this.destroyRef.onDestroy(() => this.store.dispatch(destroyUnrealScene()));
|
|
4878
4879
|
effect(() => {
|
|
4879
4880
|
const videoElement = this.videoElement();
|