marinofaggiana 4 years ago
parent
commit
584c099dcf
1 changed files with 3 additions and 0 deletions
  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() {
             if !detailView.isShow() {
                 UIView.animate(withDuration: 0.3) {
                 UIView.animate(withDuration: 0.3) {
                     self.centreConstraints()
                     self.centreConstraints()
+                } completion: { (_) in
+                    self.updateZoomScale()
+                    self.centreConstraints()
                 }
                 }
             }
             }