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

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

@@ -194,6 +194,9 @@ class NCViewerImageZoom: UIViewController {
             if !detailView.isShow() {
                 UIView.animate(withDuration: 0.3) {
                     self.centreConstraints()
+                } completion: { (_) in
+                    self.updateZoomScale()
+                    self.centreConstraints()
                 }
             }