Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1110 from yury/fix-truncation
Browse files Browse the repository at this point in the history
[ASTextNode] Prompt creation of truncater object when the context object is accessed.
  • Loading branch information
appleguy committed Jan 26, 2016
2 parents d70a955 + 313a3cc commit 6bd62cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AsyncDisplayKit/TextKit/ASTextKitRenderer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ - (ASTextKitContext *)context
exclusionPaths:attributes.exclusionPaths
constrainedSize:shadowConstrainedSize
layoutManagerFactory:attributes.layoutManagerFactory];

[self truncater];
}
return _context;
}
Expand Down

0 comments on commit 6bd62cb

Please sign in to comment.