Address some build warnings

This commit is contained in:
arkon
2022-05-11 18:08:49 -04:00
parent 598e4516b3
commit b950370f12
8 changed files with 13 additions and 6 deletions
@@ -249,6 +249,7 @@ open class ReaderPageImageView @JvmOverloads constructor(
ZoomStartPosition.LEFT -> setScaleAndCenter(scale, PointF(0F, 0F))
ZoomStartPosition.RIGHT -> setScaleAndCenter(scale, PointF(sWidth.toFloat(), 0F))
ZoomStartPosition.CENTER -> setScaleAndCenter(scale, center.also { it?.y = 0F })
null -> {}
}
}