From 901771a899851c6441cfb2238ea3ad6cfeab153d Mon Sep 17 00:00:00 2001 From: Zsolt Kocsi Date: Fri, 8 Sep 2023 18:28:31 +0100 Subject: [PATCH] Fix missed calculation error --- .../com/bumble/appyx/interactions/core/DraggableChildren.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appyx-interactions/common/src/commonMain/kotlin/com/bumble/appyx/interactions/core/DraggableChildren.kt b/appyx-interactions/common/src/commonMain/kotlin/com/bumble/appyx/interactions/core/DraggableChildren.kt index f35cb435f..72c40b3b3 100644 --- a/appyx-interactions/common/src/commonMain/kotlin/com/bumble/appyx/interactions/core/DraggableChildren.kt +++ b/appyx-interactions/common/src/commonMain/kotlin/com/bumble/appyx/interactions/core/DraggableChildren.kt @@ -197,5 +197,5 @@ fun elementOffset( it.alignment.align(elementSize, containerSize, layoutDirection) } ?: IntOffset.Zero - return positionInsideOffset - positionOutsideOffset + return positionInsideOffset + positionOutsideOffset }