diff options
author | nebkat <nebkat@teamhacksung.org> | 2013-01-07 21:47:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.cyanogenmod.com> | 2013-01-08 14:00:04 -0800 |
commit | 3589fcae53855e24d7b10832e8a54cb06db8cf0c (patch) | |
tree | 171095db2a09df19d006515351531e836e81ee49 /src/com/cyanogenmod | |
parent | 30e8caa2110925c83835f3e5f5db2dcb9705395d (diff) | |
download | packages_apps_trebuchet-3589fcae53855e24d7b10832e8a54cb06db8cf0c.zip packages_apps_trebuchet-3589fcae53855e24d7b10832e8a54cb06db8cf0c.tar.gz packages_apps_trebuchet-3589fcae53855e24d7b10832e8a54cb06db8cf0c.tar.bz2 |
Workspace: Fix wallpaper offset landscape
Change-Id: I3b283efbe69f68fd088154b9ed2fe59ceb3336ac
Diffstat (limited to 'src/com/cyanogenmod')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/Workspace.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Workspace.java b/src/com/cyanogenmod/trebuchet/Workspace.java index cd44cf3..cab5f61 100644 --- a/src/com/cyanogenmod/trebuchet/Workspace.java +++ b/src/com/cyanogenmod/trebuchet/Workspace.java @@ -1800,11 +1800,7 @@ public class Workspace extends PagedView // Wallpaper is smaller than screen y += (height - wallpaperHeight) / 2; } else { - if (!mIsLandscape) { - y -= mWallpaperOffsets[1]; - } else { - y -= (wallpaperHeight - (height - mWallpaperOffsets[1])) / 2 - mWallpaperOffsets[1]; - } + y -= mWallpaperOffsets[1]; } canvas.drawBitmap(mWallpaperBitmap, x, y, mPaint); |