diff --git a/Framework/Sources/FloatingPanel.swift b/Framework/Sources/FloatingPanel.swift index f90a450..9f56ded 100644 --- a/Framework/Sources/FloatingPanel.swift +++ b/Framework/Sources/FloatingPanel.swift @@ -370,7 +370,7 @@ class FloatingPanel: NSObject, UIGestureRecognizerDelegate, UIScrollViewDelegate switch supportedPositions { case Set([.full, .half]): - return targetPosition(from: [.half, .tip], at: currentY, velocity: velocity) + return targetPosition(from: [.full, .half], at: currentY, velocity: velocity) case Set([.half, .tip]): return targetPosition(from: [.half, .tip], at: currentY, velocity: velocity) case Set([.full, .tip]):