Skip to content

Commit bb7cf00

Browse files
No need to check isBrush flag: if stylus is active, it is brush
1 parent 80912a4 commit bb7cf00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Input/UnityXRControllerInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public override void Update()
133133

134134
private bool IsStylusActive()
135135
{
136-
return stylusState.isActive && isBrush;
136+
return stylusState.isActive;
137137
}
138138

139139
public override Vector2 GetPadValueDelta()

0 commit comments

Comments
 (0)