mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-26 23:39:12 +00:00
Merge pull request #453 from facebook/outlineBorderWidth
Set line width on path instead of context.
This commit is contained in:
commit
38ecededaa
@ -347,7 +347,7 @@ extern asimagenode_modification_block_t ASImageNodeRoundBorderModificationBlock(
|
|||||||
// Draw a border on top.
|
// Draw a border on top.
|
||||||
if (borderWidth > 0.0) {
|
if (borderWidth > 0.0) {
|
||||||
[borderColor setStroke];
|
[borderColor setStroke];
|
||||||
CGContextSetLineWidth(UIGraphicsGetCurrentContext(), borderWidth);
|
[roundOutline setLineWidth:borderWidth];
|
||||||
[roundOutline stroke];
|
[roundOutline stroke];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user