瀏覽代碼

improvements

marinofaggiana 4 年之前
父節點
當前提交
6c53ec9d48
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

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

@@ -200,7 +200,7 @@ class NCViewerImageZoom: UIViewController {
             }
             }
             
             
             // CLOSE DETAIL
             // CLOSE DETAIL
-            if (imageView.center.y > view.center.y + 50) || (deltaY < -40) || (topPoint.y + 40 < currentLocation.y) {
+            if (imageView.center.y > view.center.y + 50) || (deltaY < -70) || (topPoint.y + 70 < currentLocation.y) {
                 
                 
                 if detailView.isShow() {
                 if detailView.isShow() {
                     detailView.hide()
                     detailView.hide()