Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASTextNode2] Fix background color drawing #831

Merged
merged 5 commits into from
Mar 12, 2018
Merged

Conversation

Adlai-Holler
Copy link
Member

Putting the background color in the text drawing isn't the right way to go – we need to fill the entire layer with the background color instead.

This also puts a lock on the pointSizeScaleFactors property even though it isn't actually respected and fixes a case where NSMutableAttributedStrings could leak into a cache (no harm done right now).

@Adlai-Holler Adlai-Holler merged commit 5cafdb9 into master Mar 12, 2018
@Adlai-Holler Adlai-Holler deleted the AHTextNode2BGColor branch March 12, 2018 20:42
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* Fix TextNode2 not respecting background color

* ASTextNode2: Use locks and copies right

* Increment changelog

* Make the Dangerfile accept any license header with Pinterest in it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants