Skip to content

Commit 3fc7766

Browse files
Zee2keveleigh
andauthored
Update Assets/MRTK/SDK/Features/UX/Scripts/BoundsControl/Visuals/ScaleHandles.cs
Co-authored-by: Kurtis <[email protected]>
1 parent ff83050 commit 3fc7766

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Assets/MRTK/SDK/Features/UX/Scripts/BoundsControl/Visuals/ScaleHandles.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ private Bounds CreateVisual(int handleIndex, GameObject parent, bool isFlattened
175175
{
176176
// Rotate 2D slate handle asset for proper orientation
177177
parent.transform.Rotate(0, 0, -90);
178-
} else {
178+
}
179+
else
180+
{
179181
Quaternion realignment = GetRotationRealignment(handleIndex);
180182
parent.transform.localRotation = realignment;
181183
}

0 commit comments

Comments
 (0)