Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ac62d69 authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Fix overlapping pages (issue 12551580)" into jb-ub-now-kermit

parents e6e0af03 efb31e39
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -557,7 +557,7 @@ public class DeviceProfile {
            // In portrait, we want the pages spaced such that there is no
            // In portrait, we want the pages spaced such that there is no
            // overhang of the previous / next page into the current page viewport.
            // overhang of the previous / next page into the current page viewport.
            // We assume symmetrical padding in portrait mode.
            // We assume symmetrical padding in portrait mode.
            return 2 * getWorkspacePadding().left;
            return Math.max(defaultPageSpacingPx, 2 * getWorkspacePadding().left);
        }
        }
    }
    }