summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/launcher2/Utilities.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Utilities.java b/src/com/android/launcher2/Utilities.java
index 93ff97af8..fbe489ec5 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;