Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vovasty committed Feb 20, 2020
1 parent e33e317 commit f8527b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ASDisplayNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ - (void)asyncTraitCollectionDidChangeWithPreviousTraitCollection:(ASPrimitiveTra
UIColor *backgroundColor = _backgroundColor;
__instanceLock__.unlock();
// TODO: we should resolve color using node's trait collection
// but Texture changes it from many places, so we may receive the wrong one.
// but Texture changes it from many places, so we may receive the wrong one.
CGColorRef cgBackgroundColor = backgroundColor.CGColor;
if (!CGColorEqualToColor(_layer.backgroundColor, cgBackgroundColor)) {
// Background colors do not dynamically update for layer backed nodes since they utilize CGColorRef
Expand Down

0 comments on commit f8527b0

Please sign in to comment.