mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-04-07 13:47:54 +00:00
Merge pull request #18 from airbnb/btw/3drotationcrash
Fix crash for 3d rotation values
This commit is contained in:
@@ -59,6 +59,9 @@
|
||||
}
|
||||
|
||||
NSDictionary *rotation = ks[@"r"];
|
||||
if (rotation == nil) {
|
||||
rotation = ks[@"rz"];
|
||||
}
|
||||
if (rotation) {
|
||||
_rotation = [[LAAnimatableNumberValue alloc] initWithNumberValues:rotation frameRate:_framerate];
|
||||
[_rotation remapValueWithBlock:^CGFloat(CGFloat inValue) {
|
||||
|
||||
Reference in New Issue
Block a user