Skip to content

Commit b75237b

Browse files
committed
remove /2
1 parent 0f87ece commit b75237b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

avifcoillibrary/src/main/java/com/github/awxkee/avifcoil/decoder/animation/AnimatedAvifDecoder.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public class AnimatedAvifDecoder(
8383
)
8484
}
8585

86-
val dstWidth = options.size.width.pxOrElse { 0 } / 2
87-
val dstHeight = options.size.height.pxOrElse { 0 } / 2
86+
val dstWidth = options.size.width.pxOrElse { 0 }
87+
val dstHeight = options.size.height.pxOrElse { 0 }
8888
val scaleMode = when (options.scale) {
8989
Scale.FILL -> ScaleMode.FILL
9090
Scale.FIT -> ScaleMode.FIT

0 commit comments

Comments
 (0)