Be even more aggressive about faking the readback zoom state.

This commit is contained in:
Joe Onorato
2009-10-01 14:21:24 -07:00
parent f7b0e01880
commit c5acd42314

View File

@@ -331,10 +331,10 @@ public class AllAppsView extends RSSurfaceView
cancelLongPress();
mRollo.clearSelectedIcon();
if (amount > 0.001f) {
mRollo.mState.zoomTarget = amount;
// set in readback, so we're correct even before the next frame
mRollo.mReadback.zoom = mRollo.mState.zoomTarget = amount;
if (!animate) {
// set in readback, so we're correct even before the next frame
mRollo.mReadback.zoom = mRollo.mState.zoom = amount;
mRollo.mState.zoom = amount;
mRollo.mReadback.save();
}
} else {