Skip to content

Commit

Permalink
Adjust HUD size and rotation threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
Raicuparta committed Feb 8, 2022
1 parent 46668f8 commit 4696a48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TwoForksVr/src/UI/Patches/CanvasToWorldSpacePatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private static void MoveCanvasesToWorldSpace(CanvasScaler __instance)
if (canvas.GetComponent<GraphicRaycaster>())
AttachedUi.Create<InteractiveUi>(canvas, StageInstance.GetInteractiveUiTarget(), 0.002f);
else
AttachedUi.Create<StaticUi>(canvas, StageInstance.GetStaticUiTarget(), 0.0004f);
AttachedUi.Create<StaticUi>(canvas, StageInstance.GetStaticUiTarget(), 0.00045f);
}
catch (Exception exception)
{
Expand Down
2 changes: 1 addition & 1 deletion TwoForksVr/src/UI/StaticUiTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace TwoForksVr.UI
{
public class StaticUiTarget : UiTarget
{
protected override float MinAngleDelta => 15f;
protected override float MinAngleDelta => 20f;

public static StaticUiTarget Create(VrStage stage)
{
Expand Down

0 comments on commit 4696a48

Please sign in to comment.