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

Commit efb31e39 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fix overlapping pages (issue 12551580)

Change-Id: I03c29c36828b6c4baadb33b13b0e852b07b2d40f
parent f8584042
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
        }
    }