Skip to content

Commit

Permalink
Fix missed calculation error
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoltk committed Sep 8, 2023
1 parent 456b034 commit 901771a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,5 +197,5 @@ fun elementOffset(
it.alignment.align(elementSize, containerSize, layoutDirection)
} ?: IntOffset.Zero

return positionInsideOffset - positionOutsideOffset
return positionInsideOffset + positionOutsideOffset
}

0 comments on commit 901771a

Please sign in to comment.