Răsfoiți Sursa

Fix tint color for animated image view

Leon Dudlik 4 ani în urmă
părinte
comite
b1863ffe0b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Sources/Views/AnimatedImageView.swift

+ 1 - 1
Sources/Views/AnimatedImageView.swift

@@ -230,7 +230,7 @@ open class AnimatedImageView: UIImageView {
         if let currentFrame = animator?.currentFrameImage {
             layer.contents = currentFrame.cgImage
         } else {
-            layer.contents = image?.cgImage
+            super.display(layer)
         }
     }