android: fix when Stack restore canvas cause draw position error
This commit is contained in:
parent
9704f95592
commit
265b662ca8
@ -73,7 +73,7 @@ public class DoricLayer extends MaximumFrameLayout {
|
||||
mRect.right = getWidth();
|
||||
mRect.top = 0;
|
||||
mRect.bottom = getHeight();
|
||||
if (canvas.getSaveCount() > 1) {
|
||||
if (mCornerRadii != null) {
|
||||
canvas.restore();
|
||||
}
|
||||
canvas.save();
|
||||
|
Reference in New Issue
Block a user