From 851fd984dfaf15e1ebe41e51505fbfbc16061f07 Mon Sep 17 00:00:00 2001 From: Aashay Gaikwad Date: Mon, 4 Sep 2023 17:39:21 +0100 Subject: [PATCH 1/2] Removed setting offset again in AppyxComponent --- .../com/bumble/appyx/navigation/composable/AppyxComponent.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/navigation/composable/AppyxComponent.kt b/appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/navigation/composable/AppyxComponent.kt index b602435ea..4aaf780cb 100644 --- a/appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/navigation/composable/AppyxComponent.kt +++ b/appyx-navigation/common/src/commonMain/kotlin/com/bumble/appyx/navigation/composable/AppyxComponent.kt @@ -146,7 +146,6 @@ class ChildrenTransitionScope( .offset { offsetCenter.round() } .width(with(density) { size.width.toDp() }) .height(with(density) { size.height.toDp() }) - .offset { offsetCenter.round() } .pointerInput(appyxComponent) { detectDragGesturesOrCancellation( onDragStart = { position -> From 91765ba0ae2f3835133b758528c9025c3e718171 Mon Sep 17 00:00:00 2001 From: Aashay Gaikwad Date: Mon, 4 Sep 2023 17:43:10 +0100 Subject: [PATCH 2/2] Updated Changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33a6e878a..e3911463d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ ### Fixed -- [#579](https://github.com/bumble-tech/appyx/pull/579) – Expose AndroidLifecycle in PlatformLifecycleRegistry for Android +- [#579](https://github.com/bumble-tech/appyx/pull/579) – Expose `AndroidLifecycle` in `PlatformLifecycleRegistry` for Android +- [#584](https://github.com/bumble-tech/appyx/pull/584) – Fix applying offset twice in `AppyxComponent` ## 2.0.0-alpha04