Skip to content

Conversation

@mattleibow
Copy link
Contributor

Description of Change

If there is no color set, then iOS can't clear it. As a result, the canvas is clear, but then it draws that clear canvas onto whatever there was before. And what was there before was the canvas so it keeps stacking things up.

This PR make sure that we let iOS know that it has to clear the underlying surface with transparent.

Bugs Fixed

An issue where the canvas never really cleared.

API Changes

None.

Behavioral Changes

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation

If there is no color set, then iOS can't clear it. As a result, the canvas is clear, but then it draws that clear canvas onto whatever there was before.
@mattleibow mattleibow merged commit 5fb7bc7 into develop Jul 6, 2021
@mattleibow mattleibow deleted the dev/clear-surface branch July 6, 2021 20:03
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.

2 participants