Skip to content

Commit

Permalink
Allow generation of sphere with gesture on mobile (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeskydev authored Apr 10, 2024
1 parent 8c72a0d commit ee8fe20
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Assets/Scripts/PointerManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,16 +1243,7 @@ void CheckGestures()
nextShape = StraightEdgeGuideScript.Shape.Circle;
break;
case StraightEdgeGuideScript.Shape.Circle:
{
if (App.Config.IsMobileHardware)
{
nextShape = StraightEdgeGuideScript.Shape.Line;
}
else
{
nextShape = StraightEdgeGuideScript.Shape.Sphere;
}
}
nextShape = StraightEdgeGuideScript.Shape.Sphere;
break;
case StraightEdgeGuideScript.Shape.Sphere:
nextShape = StraightEdgeGuideScript.Shape.Line;
Expand Down

0 comments on commit ee8fe20

Please sign in to comment.