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

Commit ee5b1fdb authored by Cairn Overturf's avatar Cairn Overturf
Browse files

Fix shadows when device is rotated

- Made setGlobalShadowSettings synchronous since oneway and synchronous calls are not guaranteed to be ordered.  This is helpful for testing and this function is only called once on startup.
- Fixed cropped shadow test by moving shadow casting layer to a position that is the same relative to the light pos, independent of device resolution.

Bug: 377194534
Flag: EXEMPT bugfix
Test: Open freeform windows and rotate your device and observe that shadows are cast in a consistent direction. Before the change, T6 shadows were always incorrectly cast towards the charging port.
Change-Id: I72a7586f40ae35a0ac449ad6b920976de145f446
parent 548c2a1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment