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

Commit 84087c05 authored by huiyan's avatar huiyan Committed by Likai Ding
Browse files

Gallery2: Fix the picture display error after doing rotate operation.

After rotating the image, use previous canvas to draw the new content,
but the canvas is not erased the previous content before using to draw.
So if the format of the image is png which alpha is set,
the previous content can be seen by the transparent part.

Before drawing the new content, the canvas erase the previous content to
make the canvas clean.

Change-Id: I9f5c3196eed28470673d90d02ce9fdc3fca62727
CRs-Fixed: 996568
parent 2b08697b
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