diff options
author | 2009-09-24 13:53:13 -0400 | |
---|---|---|
committer | 2009-09-24 13:53:13 -0400 | |
commit | bb339eadcb4a3ffd2dc861ffb0f268a49238fd03 (patch) | |
tree | 2ea2997a34aad312b5c1616b76b65630f1adcdae | |
parent | a3a840f9dd13567c31262ea12545ae9f34573739 (diff) | |
parent | ff9c54b7214e99b3182f53f3089da0503f3edddc (diff) |
Merge change 26867 into eclair
* changes:
fix bug where siilent mode dissapears when it triggers instead of animating off to the left edge.
-rw-r--r-- | core/java/com/android/internal/widget/RotarySelector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/widget/RotarySelector.java b/core/java/com/android/internal/widget/RotarySelector.java index a6ce7f802822..42cbd07eba33 100644 --- a/core/java/com/android/internal/widget/RotarySelector.java +++ b/core/java/com/android/internal/widget/RotarySelector.java @@ -668,7 +668,7 @@ public class RotarySelector extends View { // wrapping the offset back to the other side so that when the animation is finished, // the buttons will come back into their original places. if (mDimplesOfFling > 0) { - if (!goingRight && mRotaryOffsetX < 3 * mDimpleSpacing) { + if (!goingRight && mRotaryOffsetX < -3 * mDimpleSpacing) { // wrap around on fling left mRotaryOffsetX += mDimplesOfFling * mDimpleSpacing; } else if (goingRight && mRotaryOffsetX > 3 * mDimpleSpacing) { |