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()
                 }
             }