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

Skip to content
Commit 7a7c6d38 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Fix rounded corners cropping for letterbox

When using two apps in horizontal split-screen, taskbar is shown, and
the bottom app is "portrait-only" and letterboxed, this bottom
application is partially covered by taskbar.

This is because, the top of taskbar is calculated relative to the whole
screen, while cropBounds.offsetTo(0, 0) makes cropBounds coordinates
relative to the lower part of the screen.

Reordering the statements of "adjustment of crop bounds" and "offsetting
coordinates" fixes this issue

Change-Id: Id1ac9252fbf102e321a89330aefda9ca2624fe66
Test: atest SizeCompatTests
Bug: 245521412
parent b731a735
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment