Updating to alpha10… ```@Deprecated( "offsetPx...
# compose
a
Updating to alpha10…
Copy code
@Deprecated(
    "offsetPx was deprecated. Please use offset with lambda parameters instead.",
    ReplaceWith(
        "offset({x.value}, {y.value})",
        "androidx.compose.foundation.layout.offset",
        "kotlin.math.roundToInt()"
    )
)
I can’t find this replacement function 🤔
a
sorry for one more api change, it now has only one lambda which returns IntOffset. https://android-review.googlesource.com/c/platform/frameworks/support/+/1509632
a
I see. Thanks 🙂