Skip to content

Commit

Permalink
Added targetContentZIndex and sizeTransform value passthrough (#445)
Browse files Browse the repository at this point in the history
* Added targetContentZIndex and sizeTransform value passthrough

* Lint fix
  • Loading branch information
griffinsorrentino authored Jun 18, 2024
1 parent 585a004 commit c71f46b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,12 @@ public fun ScreenTransition(
val screenExitTransition = sourceScreenTransition?.exit(navigator.lastEvent)
?: contentTransform.initialContentExit

screenEnterTransition togetherWith screenExitTransition
ContentTransform(
screenEnterTransition,
screenExitTransition,
contentTransform.targetContentZIndex,
contentTransform.sizeTransform
)
},
modifier = modifier
) { screen ->
Expand Down

0 comments on commit c71f46b

Please sign in to comment.