Skip to content

Commit 3a853e6

Browse files
committed
fix: YYTextAsyncLayer
1 parent 9af0c68 commit 3a853e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YYText/Utility/YYTextAsyncLayer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ - (void)_displayAsync:(BOOL)async {
156156
return;
157157
}
158158
if (size.width <= 0 || size.height <= 0) {
159-
return
159+
return;
160160
}
161161
UIGraphicsBeginImageContextWithOptions(size, opaque, scale);
162162
CGContextRef context = UIGraphicsGetCurrentContext();

0 commit comments

Comments
 (0)