diff --git a/AsyncDisplayKit/ASImageNode.mm b/AsyncDisplayKit/ASImageNode.mm index 76bd5b6cb4..2d61599626 100644 --- a/AsyncDisplayKit/ASImageNode.mm +++ b/AsyncDisplayKit/ASImageNode.mm @@ -347,7 +347,7 @@ extern asimagenode_modification_block_t ASImageNodeRoundBorderModificationBlock( // Draw a border on top. if (borderWidth > 0.0) { [borderColor setStroke]; - CGContextSetLineWidth(UIGraphicsGetCurrentContext(), borderWidth); + [roundOutline setLineWidth:borderWidth]; [roundOutline stroke]; }