Skip to content

Commit

Permalink
Fix: Fix angle not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
whats2000 committed Sep 4, 2024
1 parent 02166fb commit c9c74ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/ResultView.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private static void ShowDirectionResult(Space3D pearlPos, Space3D destination)
{
var angle = pearlPos.WorldAngle(destination);

if (Math.Abs(angle) < 370)
if (Math.Abs(Math.Abs(angle) - 370) < 0.01)
return;

_resultDirection = DirectionUtils.GetDirection(angle).ToString();
Expand Down

0 comments on commit c9c74ca

Please sign in to comment.