diff --git a/Sources/PanSlip/PanSlip+UIView.swift b/Sources/PanSlip/PanSlip+UIView.swift index 2b27bf9..9fdb0cc 100644 --- a/Sources/PanSlip/PanSlip+UIView.swift +++ b/Sources/PanSlip/PanSlip+UIView.swift @@ -63,7 +63,6 @@ extension PanSlip where Base: UIView { base.layoutIfNeeded() } - let size = base.bounds switch slipDirection { case .leftToRight: base.frame.origin.x = base.bounds.width