Fix overlapping pages (issue 12551580)

Change-Id: I03c29c36828b6c4baadb33b13b0e852b07b2d40f
(cherry picked from commit efb31e399d)
This commit is contained in:
Adam Cohen
2014-01-16 16:07:50 -08:00
parent b608ae672d
commit 930514df05
+1 -1
View File
@@ -557,7 +557,7 @@ public class DeviceProfile {
// In portrait, we want the pages spaced such that there is no
// overhang of the previous / next page into the current page viewport.
// We assume symmetrical padding in portrait mode.
return 2 * getWorkspacePadding().left;
return Math.max(defaultPageSpacingPx, 2 * getWorkspacePadding().left);
}
}