Skip to content

Commit 9d96957

Browse files
authored
Fix incorrect rendering in Volume.kt (#651)
1 parent bd5988f commit 9d96957

File tree

1 file changed

+1
-2
lines changed
  • xr/src/main/java/com/example/xr/compose

1 file changed

+1
-2
lines changed

xr/src/main/java/com/example/xr/compose/Volume.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fun ObjectInAVolume(show3DObject: Boolean) {
7171
val volumeXOffset = 0.dp
7272
val volumeYOffset = 0.dp
7373
val volumeZOffset = 0.dp
74-
// [END_EXCLUDE silent]
74+
// [END_EXCLUDE]
7575
val session = checkNotNull(LocalSession.current)
7676
val scope = rememberCoroutineScope()
7777
if (show3DObject) {
@@ -80,7 +80,6 @@ fun ObjectInAVolume(show3DObject: Boolean) {
8080
modifier = SubspaceModifier
8181
.offset(volumeXOffset, volumeYOffset, volumeZOffset) // Relative position
8282
.scale(1.2f) // Scale to 120% of the size
83-
8483
) { parent ->
8584
scope.launch {
8685
// Load your 3D model here

0 commit comments

Comments
 (0)