Skip to content

Commit 827c898

Browse files
authored
Adjust Compass API signature.
The autohide setting is now a view modifier.
1 parent 5992329 commit 827c898

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Shared/Samples/Set viewpoint rotation/SetViewpointRotationView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ struct SetViewpointRotationView: View {
3939
}
4040
.overlay(alignment: .topTrailing) {
4141
Compass(
42-
viewpointRotation: $rotation,
43-
autoHide: false
42+
viewpointRotation: $rotation
4443
)
4544
.padding()
4645
}

0 commit comments

Comments
 (0)