Skip to content

Commit

Permalink
No need to check isBrush flag: if stylus is active, it is brush
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-gutierrez committed Oct 15, 2024
1 parent 80912a4 commit bb7cf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Input/UnityXRControllerInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public override void Update()

private bool IsStylusActive()
{
return stylusState.isActive && isBrush;
return stylusState.isActive;
}

public override Vector2 GetPadValueDelta()
Expand Down

0 comments on commit bb7cf00

Please sign in to comment.