Skip to content

Commit

Permalink
Merge branch 'test-graphics-layer-screenshot' of https://github.com/a…
Browse files Browse the repository at this point in the history
…ndroid/snippets into test-graphics-layer-screenshot
  • Loading branch information
riggaroo committed Aug 25, 2023
2 parents 6d8499d + a24128e commit 756fc30
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Share
import androidx.compose.material3.FloatingActionButton
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Scaffold
import androidx.compose.material3.SnackbarHost
import androidx.compose.material3.SnackbarHostState
Expand Down Expand Up @@ -203,9 +202,9 @@ private fun ScreenContentToCapture() {
.padding(32.dp)
// TODO REMOVE
.graphicsLayer {
rotationY = 20f
}
,
rotationY = 20f
compositingStrategy = CompositingStrategy.Offscreen
},
contentScale = ContentScale.Crop
)
Text(
Expand Down

0 comments on commit 756fc30

Please sign in to comment.