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

Commit 2b30269d authored by Danny Baumann's avatar Danny Baumann Committed by Steve Kondik
Browse files

Fix drawing of VectorDrawables that are rotated by 90 or 270 degrees.

The SCALE_X / SCALE_Y values of rotated matrices are set to the cosine
of the rotation angle, which is 0 for drawables that are rotated by 90
or 270 degrees. Map the matrix onto the bounds rectangle and use the
resulting size to determine the scaled size instead.

Change-Id: I6cc0f0b5569d43434c829cb5f6e5f848cad995ec
parent e62097f1
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