Add option to disable image animation
Changelog-Added: Add option to disable image animation Closes: #707
This commit is contained in:
1 parent
3fec9dd209
commit
0aff41d384
3 files changed
+28
-5
No files matched your search
@@ -17,6 +17,7 @@ extension KFOptionSetter {
|
||||
options.backgroundDecode = true
|
||||
options.cacheOriginalImage = true
|
||||
options.scaleFactor = UIScreen.main.scale
|
||||
options.onlyLoadFirstFrame = should_disable_image_animation()
|
||||
|
||||
options.processor = CustomImageProcessor(
|
||||
maxSize: imageContext.maxMebibyteSize(),
|
||||
|
||||
Reference in new issue
Block a user