Skip to content

Commit

Permalink
Merge pull request #1223 from patrykmichalik/main
Browse files Browse the repository at this point in the history
[Pager Indicators] Fix behavior of `pagerTabIndicatorOffset` in RTL layouts
  • Loading branch information
andkulikov committed Jul 20, 2022
2 parents 1e2da2b + 9a89f14 commit f619020
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -68,7 +68,7 @@ fun Modifier.pagerTabIndicatorOffset(
)
)
layout(constraints.maxWidth, maxOf(placeable.height, constraints.minHeight)) {
placeable.place(
placeable.placeRelative(
indicatorOffset,
maxOf(constraints.minHeight - placeable.height, 0)
)
Expand Down

0 comments on commit f619020

Please sign in to comment.