Skip to content

Commit

Permalink
Use canvas.concat instead of setMatrix (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisBlock authored and natario1 committed Dec 12, 2018
1 parent fcbdbbf commit 262a500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ protected boolean drawChild(Canvas canvas, View child, long drawingTime) {

if (!mHasClickableChildren) {
int save = canvas.save();
canvas.setMatrix(mMatrix);
canvas.concat(mMatrix);
result = super.drawChild(canvas, child, drawingTime);
canvas.restoreToCount(save);
} else {
Expand Down

0 comments on commit 262a500

Please sign in to comment.