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

Commit 26a34eb7 authored by Kshitij's avatar Kshitij
Browse files

fix: Reduce horizontal margin in landscape

parent 5dd6beee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
        DeviceProfile grid = mLauncher.getDeviceProfile();
        Rect padding = grid.cellLayoutPaddingPx;
        setOrientation(mLauncher);
        int tabletMarginMultiplier = grid.isLandscape ? 10 : 2;
        int tabletMarginMultiplier = grid.isLandscape ? 3 : 2;
        int leftCorrection = ((grid.isVerticalBarLayout() && mOrientation == Surface.ROTATION_270)
                ? grid.hotseatBarSizePx : 0)
                + (grid.isTablet ? (padding.left * tabletMarginMultiplier) : 0);