From 9746efd6ccf37aa2cc222905d066110934893448 Mon Sep 17 00:00:00 2001 From: zhujiang2 Date: Fri, 21 Jul 2023 11:27:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20Banner=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- banner/build.gradle | 2 +- banner/src/main/java/com/zj/banner/BannerPager.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/banner/build.gradle b/banner/build.gradle index 31d0354..d5dc8b1 100644 --- a/banner/build.gradle +++ b/banner/build.gradle @@ -17,7 +17,7 @@ afterEvaluate { // You can then customize attributes of the publication as shown below. groupId = 'com.zj.banner' artifactId = 'banner' - version = '2.6.2' + version = '2.6.3' } // // Creates a Maven publication called “debug”. // debug(MavenPublication) { diff --git a/banner/src/main/java/com/zj/banner/BannerPager.kt b/banner/src/main/java/com/zj/banner/BannerPager.kt index 5845bec..57cd97b 100644 --- a/banner/src/main/java/com/zj/banner/BannerPager.kt +++ b/banner/src/main/java/com/zj/banner/BannerPager.kt @@ -104,7 +104,6 @@ fun BannerPager( fraction = 1f - pageOffset.coerceIn(0f, 1f) ) } - .fillMaxSize() .padding(config.bannerImagePadding), shape = config.shape, imageRatio = config.imageRatio,