marinofaggiana 4 år sedan
förälder
incheckning
097ad06fb2
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

+ 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