From c0c4fe39166b3ed8b9bb19129a890922d93f7a92 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 12 Feb 2010 23:20:25 +0100 Subject: [PATCH] Make sure the generated texture is 120px wide. --- src/com/android/launcher2/Utilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java index 93ff97af82..fbe489ec5b 100644 --- a/src/com/android/launcher2/Utilities.java +++ b/src/com/android/launcher2/Utilities.java @@ -260,7 +260,7 @@ final class Utilities { RectF bubbleRect = mBubbleRect; bubbleRect.left = 0; bubbleRect.top = 0; - bubbleRect.right = (int)(bubbleWidth+0.5f); + bubbleRect.right = (int) cellWidth; mTextWidth = bubbleWidth - mBubblePadding - mBubblePadding;