Skip to content

Conversation

@daviditkin
Copy link

Prevents underflow on restoreToCount. On Lollipop when Picture.beginRecording has a saveCount of 1 which causes the canvasRestoreCount to be set to 2. This doesn't work if I have nested svg elements, the out one does not have a viewBox and the inner one does.

I've created a deQue for the canvasRestoreCount and the canvas so they are scoped to the svg element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant