marinofaggiana 4 년 전
부모
커밋
6fe50c19e2
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

+ 1 - 3
iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

@@ -167,9 +167,7 @@ class NCViewerImageZoom: UIViewController {
         case .changed:
             
             target.center = CGPoint(x: imageViewCenter!.x, y: imageViewCenter!.y + currentLocation.y)
-            
-            print(currentLocation.y)
-            detailViewTopConstraint.constant = -currentLocation.y
+            detailView.frame.origin.y = imageViewCenter!.y
             
             // DISMISS
             if target.center.y > view.center.y + panDistanceClose {