Skip to content

Commit

Permalink
fixed AvatarView tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DerKatsche committed Jan 8, 2024
1 parent 2c42e94 commit 72f4e57
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 406 deletions.
4 changes: 2 additions & 2 deletions src/Components/Core/Presentation/Babylon/Avatar/AvatarView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class AvatarView {
PRESENTATION_TYPES.IMovementIndicator
);

this.viewModel.movementTarget.subscribe(this.onMovementTargetChange);
this.viewModel.movementTarget.subscribe(this.onMovementTargetChanged);
}

public async asyncSetup(): Promise<void> {
Expand Down Expand Up @@ -142,7 +142,7 @@ export default class AvatarView {
}

@bind
private onMovementTargetChange(newTarget: Nullable<Vector3>): void {
private onMovementTargetChanged(newTarget: Nullable<Vector3>): void {
if (newTarget === null) this.movementIndicator.hide();
else this.movementIndicator.display(newTarget);
}
Expand Down
Loading

0 comments on commit 72f4e57

Please sign in to comment.