summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/ui/CameraControls.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java
index b5de4ea9a..668b49467 100644
--- a/src/com/android/camera/ui/CameraControls.java
+++ b/src/com/android/camera/ui/CameraControls.java
@@ -178,7 +178,7 @@ public class CameraControls extends RotatableLayout {
case 90:
// phone landscape: above anchor on right
result.right = r - lp.rightMargin;
- result.left = result.right - tw + lp.leftMargin;
+ result.left = r - tw + lp.leftMargin;
result.bottom = anchor.top - lp.bottomMargin;
result.top = anchor.top - th + lp.topMargin;
break;