marinofaggiana hace 4 años
padre
commit
097ad06fb2
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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