Skip to content

Commit d5998f4

Browse files
committed
fix: use system background color for the 3D viewer
1 parent ac999ff commit d5998f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Screens/Viewer/3D/Viewer3DRenderer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct Viewer3DRenderer: UIViewRepresentable {
2929
let sceneView = context.coordinator.sceneView
3030
sceneView.allowsCameraControl = true
3131
sceneView.autoenablesDefaultLighting = true
32-
sceneView.backgroundColor = .white
32+
sceneView.backgroundColor = UIColor.systemBackground
3333

3434
sceneView.isHidden = true
3535
containerView.addSubview(sceneView)

0 commit comments

Comments
 (0)