mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-06 20:54:04 +00:00
-actionForLayer:forKey: of ASDisplayNode should return nil to avoid the node being animated by CA when it's being moved from one supernode to another (#3146)
This reverts commit 1d21c0bd5545741f284e553d7ed003c69fa6897c introduced in #3063.
This commit is contained in:
parent
cbd8714260
commit
21953c97ef
@ -2312,7 +2312,7 @@ static const char *ASDisplayNodeDrawingPriorityKey = "ASDrawingPriority";
|
||||
}
|
||||
|
||||
ASDisplayNodeAssert(_flags.layerBacked, @"We shouldn't get called back here unless we are layer-backed.");
|
||||
return nil;
|
||||
return (id)kCFNull;
|
||||
}
|
||||
|
||||
#pragma mark - Error Handling
|
||||
|
Loading…
x
Reference in New Issue
Block a user