Skip to content

iOS requires that the view have a background - #1730

Merged
mattleibow merged 1 commit into
developfrom
dev/clear-surface
Jul 6, 2021
Merged

iOS requires that the view have a background#1730
mattleibow merged 1 commit into
developfrom
dev/clear-surface

Conversation

@mattleibow

Copy link
Copy Markdown
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.
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