File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
fragula-compose/src/main/kotlin/com/fragula2/compose Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,8 @@ private fun SwipeableBox(
220
220
when (swipeDirection) {
221
221
SwipeDirection .LEFT_TO_RIGHT -> - maxWidth.value * (1.0f - offsetProvider()) / parallaxFactor
222
222
SwipeDirection .RIGHT_TO_LEFT -> maxWidth.value * (1.0f - offsetProvider()) / parallaxFactor
223
- SwipeDirection .TOP_TO_BOTTOM -> - maxWidth .value * (1.0f - offsetProvider()) / parallaxFactor
224
- SwipeDirection .BOTTOM_TO_TOP -> maxWidth .value * (1.0f - offsetProvider()) / parallaxFactor
223
+ SwipeDirection .TOP_TO_BOTTOM -> - maxHeight .value * (1.0f - offsetProvider()) / parallaxFactor
224
+ SwipeDirection .BOTTOM_TO_TOP -> maxHeight .value * (1.0f - offsetProvider()) / parallaxFactor
225
225
}
226
226
}
227
227
You can’t perform that action at this time.
0 commit comments