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 markusressel committed Dec 26, 2018
1 parent f1ba253 commit 787054b
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 787054b

Please sign in to comment.