mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-06 02:37:26 +01:00
Compare commits
2 Commits
b5141b52a5
...
eb310d32ae
Author | SHA1 | Date | |
---|---|---|---|
|
eb310d32ae | ||
|
701a77a2d7 |
@ -28,10 +28,10 @@ class TachiyomiImageDecoder(private val resources: ImageSource, private val opti
|
||||
ImageDecoder.newInstance(it.inputStream(), options.cropBorders, displayProfile)
|
||||
}
|
||||
|
||||
val fallbackForLongStrips by lazy { Injekt.get<BasePreferences>().fallbackForLongStrips().get() }
|
||||
|
||||
check(decoder != null && decoder.width > 0 && decoder.height > 0) { "Failed to initialize decoder" }
|
||||
|
||||
val fallbackForLongStrips by lazy { Injekt.get<BasePreferences>().fallbackForLongStrips().get() }
|
||||
|
||||
val srcWidth = decoder.width
|
||||
val srcHeight = decoder.height
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user