mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Add method to cancel layout transitions in progress
- Also make sure a transition isn't invalidated right after it passed the validation test and before it proceeds
This commit is contained in:
@@ -98,4 +98,9 @@ ASDISPLAYNODE_EXTERN_C_END
|
||||
*/
|
||||
- (BOOL)placeholderShouldPersist;
|
||||
|
||||
/**
|
||||
* @abstract Cancels all performing layout transitions. Can be called on any thread.
|
||||
*/
|
||||
- (void)cancelLayoutTransitionsInProgress;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user