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

Commit 6bd62cb

Browse files
committed
Merge pull request #1110 from yury/fix-truncation
[ASTextNode] Prompt creation of truncater object when the context object is accessed.
2 parents d70a955 + 313a3cc commit 6bd62cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AsyncDisplayKit/TextKit/ASTextKitRenderer.mm

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ - (ASTextKitContext *)context
8888
exclusionPaths:attributes.exclusionPaths
8989
constrainedSize:shadowConstrainedSize
9090
layoutManagerFactory:attributes.layoutManagerFactory];
91+
92+
[self truncater];
9193
}
9294
return _context;
9395
}

0 commit comments

Comments
 (0)