diff --git a/Source/RWTHVRToolkit/Private/Interaction/Interactors/RWTHVRWidgetInteractionComponent.cpp b/Source/RWTHVRToolkit/Private/Interaction/Interactors/RWTHVRWidgetInteractionComponent.cpp index bae88c040077dafe46d2a1d18dd2dd17397b34ee..23e0727a0f17734282db4c1f0051965789b938ca 100644 --- a/Source/RWTHVRToolkit/Private/Interaction/Interactors/RWTHVRWidgetInteractionComponent.cpp +++ b/Source/RWTHVRToolkit/Private/Interaction/Interactors/RWTHVRWidgetInteractionComponent.cpp @@ -51,14 +51,14 @@ void URWTHVRWidgetInteractionComponent::SetupPlayerInput(UInputComponent* Player return; } - if(WidgetLeftClickInputAction) + if (WidgetLeftClickInputAction) { EI->BindAction(WidgetLeftClickInputAction, ETriggerEvent::Started, this, &URWTHVRWidgetInteractionComponent::OnBeginLeftClick); EI->BindAction(WidgetLeftClickInputAction, ETriggerEvent::Completed, this, &URWTHVRWidgetInteractionComponent::OnEndLeftClick); } - if(WidgetRightClickInputAction) + if (WidgetRightClickInputAction) { EI->BindAction(WidgetRightClickInputAction, ETriggerEvent::Started, this, &URWTHVRWidgetInteractionComponent::OnBeginRightClick);