Skip to content

Commit

Permalink
🐛 fix(editor): Fix gizmo
Browse files Browse the repository at this point in the history
  • Loading branch information
esnya committed May 11, 2022
1 parent 28d2605 commit 7b54f36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void OnDrawGizmos()
if (knobMode)
{
Gizmos.color = Color.white;
Gizmos.DrawRay(transform.position, -transform.TransformDirection(Vector3.Cross(localRight, localUp).normalized) * 0.1f);
Gizmos.DrawRay(transform.position, transform.TransformDirection(Vector3.Cross(localRight, localUp).normalized) * 0.1f);
}
}
#endif
Expand Down

0 comments on commit 7b54f36

Please sign in to comment.