Skip to content

Commit

Permalink
Merge pull request #584 from aashay-gaikwad/fix-component-duplicate-o…
Browse files Browse the repository at this point in the history
…ffset

Fix applying offset twice in `AppyxComponent`
  • Loading branch information
zsoltk authored Sep 6, 2023
2 parents 8add4ae + 91765ba commit e0f3344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ class ChildrenTransitionScope<InteractionTarget : Any, NavState : Any>(
.offset { offsetCenter.round() }
.width(with(density) { size.width.toDp() })
.height(with(density) { size.height.toDp() })
.offset { offsetCenter.round() }
.pointerInput(appyxComponent) {
detectDragGesturesOrCancellation(
onDragStart = { position ->
Expand Down

0 comments on commit e0f3344

Please sign in to comment.