From 4f28fa124b30ede82c18935ca65362261b3f6d9e Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 25 May 2022 16:47:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=8C=E8=AF=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/toside/music/mobile/lyric/LyricTextView.java | 2 +- android/app/src/main/res/drawable/rounded_corner.xml | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/android/app/src/main/java/cn/toside/music/mobile/lyric/LyricTextView.java b/android/app/src/main/java/cn/toside/music/mobile/lyric/LyricTextView.java index 8c274bc..62c3f95 100644 --- a/android/app/src/main/java/cn/toside/music/mobile/lyric/LyricTextView.java +++ b/android/app/src/main/java/cn/toside/music/mobile/lyric/LyricTextView.java @@ -121,7 +121,7 @@ public class LyricTextView extends TextView { if (!isStop) { if (viewWidth - xx + mSpeed >= textLength) { - xx = viewWidth > textLength ? 0.0F : viewWidth - textLength; + xx = viewWidth - textLength - 2; stopScroll(); } else { xx -= mSpeed; diff --git a/android/app/src/main/res/drawable/rounded_corner.xml b/android/app/src/main/res/drawable/rounded_corner.xml index 0ca84ca..92271c9 100644 --- a/android/app/src/main/res/drawable/rounded_corner.xml +++ b/android/app/src/main/res/drawable/rounded_corner.xml @@ -2,11 +2,5 @@ - - - +