marinofaggiana 4 vuotta sitten
vanhempi
commit
584c099dcf
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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()
                 }
             }