Forgot to repo upload --amend. Yay.

This commit is contained in:
Joe Onorato committed 2009-09-11 12:41:13 -04:00
1 parent 4aed02675d
commit d40eec360f
3 files changed
+6 -6

No files matched your search

+4 -2
View File
@@ -495,10 +495,12 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
if (scale < 0.999f) {
int w = getWidth();
w += 2 * mCurrentScreen * w;
int dx = w/2;
int h = getHeight();
canvas.translate(w/2, h/2);
int dy = (h/2) - (h/4);
canvas.translate(dx, dy);
canvas.scale(scale, scale);
canvas.translate(-w/2, -h/2);
canvas.translate(-dx, -dy);
}
}