mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-20 21:29:00 +00:00
Initialize control point to CGPointZero
This commit is contained in:
parent
fd6e34f4ba
commit
2728af2950
@ -111,7 +111,8 @@
|
||||
if (endPoint) {
|
||||
NSArray *controlPoint1 = keyframe[@"to"];
|
||||
NSArray *controlPoint2 = keyframe[@"ti"];
|
||||
CGPoint cp1, cp2 = CGPointZero;
|
||||
CGPoint cp1 = CGPointZero;
|
||||
CGPoint cp2 = CGPointZero;
|
||||
CGPoint vertex = [self _pointFromValueArray:endPoint];
|
||||
[pointKeyframes addObject:[NSValue valueWithCGPoint:vertex]];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user