Compare commits
1 Commits
e57e6b9e22
...
3dc36d98c1
Author | SHA1 | Date |
---|---|---|
Shadowfacts | 3dc36d98c1 |
|
@ -74,7 +74,6 @@ public class SheetContainerViewController: UIViewController {
|
|||
let translation = recognizer.translation(in: content.view)
|
||||
var realOffset = initialConstant + translation.y
|
||||
if realOffset < sortedDetentOffsets.first! {
|
||||
print("should change")
|
||||
func clamp(_ value: CGFloat, from: CGFloat, to: CGFloat) -> CGFloat {
|
||||
if value < from {
|
||||
return from
|
||||
|
|
Loading…
Reference in New Issue