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

Commit 10a2984

Browse files
Potential fix for #1076
1 parent 46bcc90 commit 10a2984

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AsyncDisplayKit/TextKit/ASTextKitRenderer.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ - (void)_calculateSize
111111
// to make sure our width calculations aren't being offset by glyphs going beyond the constrained rect.
112112
boundingRect = CGRectIntersection(boundingRect, {.size = constrainedRect.size});
113113

114-
_calculatedSize = [_shadower outsetSizeWithInsetSize:boundingRect.size];
114+
_calculatedSize = [_shadower outsetSizeWithInsetSize:CGSizeMake(boundingRect.size.width + boundingRect.origin.x, boundingRect.size.height + boundingRect.origin.y)];
115115
}
116116

117117
- (CGSize)size

0 commit comments

Comments
 (0)