mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Merge "Fix text jumping from one line -> two line when scrolling" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
d45403ee2d
@@ -815,6 +815,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
float currentWordWidth, runningWidth = 0;
|
||||
CharSequence currentWord;
|
||||
StringBuilder newString = new StringBuilder();
|
||||
// TODO: Remove when ENABLE_ICON_LABEL_AUTO_SCALING feature flag is being cleaned up.
|
||||
paint.setLetterSpacing(MIN_LETTER_SPACING);
|
||||
int stringPtr = 0;
|
||||
for (int i = 0; i < breakPoints.size()+1; i++) {
|
||||
if (i < breakPoints.size()) {
|
||||
|
||||
Reference in New Issue
Block a user