marinofaggiana 4 년 전
부모
커밋
097ad06fb2
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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