diff --git a/library/src/main/java/com/opensource/svgaplayer/SVGAImageView.kt b/library/src/main/java/com/opensource/svgaplayer/SVGAImageView.kt index 81efaffc..3c1759ab 100644 --- a/library/src/main/java/com/opensource/svgaplayer/SVGAImageView.kt +++ b/library/src/main/java/com/opensource/svgaplayer/SVGAImageView.kt @@ -92,6 +92,7 @@ open class SVGAImageView : ImageView { this@SVGAImageView.post { videoItem.antiAlias = antiAlias setVideoItem(videoItem) + (drawable as? SVGADrawable)?.scaleType = scaleType if (autoPlay) { startAnimation() }