Bug 708687 - Snap the page when the page size changes and pushes it into overscroll. r=pcwalton

This commit is contained in:
Kartikaya Gupta
2012-01-30 23:43:36 -05:00
parent b9e432d0d5
commit 4965682bf0
2 changed files with 20 additions and 1 deletions

View File

@@ -244,7 +244,13 @@ public class LayerController {
// Page size is owned by the LayerClient, so no need to notify it of
// this change.
mView.requestRender();
mView.post(new Runnable() {
public void run() {
mPanZoomController.pageSizeUpdated();
mView.requestRender();
}
});
}
/**