marinofaggiana 4 роки тому
батько
коміт
097ad06fb2

+ 5 - 0
iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

@@ -161,6 +161,11 @@ class NCViewerImageZoom: UIViewController {
             
             let deltaY = startPoint.y - currentLocation.y
             print(deltaY)
+            
+            // close
+            if deltaY < -50 && detailView.isShow() {
+                
+            }
                         
             imageViewTopConstraint.constant = startImageViewTopConstraint + currentLocation.y
             imageViewBottomConstraint.constant = startImageViewBottomConstraint - currentLocation.y