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

Commit a2492239 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Cleanup removal of taskbarSize from calculation" into tm-qpr-dev am: 5e432142

parents e4f6f176 5e432142
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -87,8 +87,8 @@ public class PreviewPositionHelper {
                taskPercent = mDesiredStagePosition != STAGE_POSITION_TOP_OR_LEFT
                taskPercent = mDesiredStagePosition != STAGE_POSITION_TOP_OR_LEFT
                        ? mSplitBounds.topTaskPercent
                        ? mSplitBounds.topTaskPercent
                        : (1 - (mSplitBounds.topTaskPercent + mSplitBounds.dividerHeightPercent));
                        : (1 - (mSplitBounds.topTaskPercent + mSplitBounds.dividerHeightPercent));
                // Scale portrait height to that of (actual screen - taskbar inset)
                // Scale portrait height to that of the actual screen
                fullscreenTaskHeight = (screenHeightPx) * taskPercent;
                fullscreenTaskHeight = screenHeightPx * taskPercent;
                if (mTaskbarInApp) {
                if (mTaskbarInApp) {
                    canvasScreenRatio = canvasHeight / fullscreenTaskHeight;
                    canvasScreenRatio = canvasHeight / fullscreenTaskHeight;
                } else {
                } else {