marinofaggiana 4 年之前
父节点
当前提交
7959ac6a9d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

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

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