mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[Yoga] Delete YOGA_TREE_CONTIGOUS gating and permanently enable. (#370)
[Yoga] Delete YOGA_TREE_CONTIGOUS gating and permanently enable. #trivial
This commit is contained in:
@@ -894,7 +894,7 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c)
|
||||
|
||||
_unflattenedLayout = nil;
|
||||
|
||||
#if YOGA_TREE_CONTIGUOUS
|
||||
#if YOGA
|
||||
[self invalidateCalculatedYogaLayout];
|
||||
#endif
|
||||
}
|
||||
@@ -968,7 +968,7 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c)
|
||||
|
||||
ASDN::MutexLocker l(__instanceLock__);
|
||||
|
||||
#if YOGA_TREE_CONTIGUOUS /* YOGA */
|
||||
#if YOGA
|
||||
// There are several cases where Yoga could arrive here:
|
||||
// - This node is not in a Yoga tree: it has neither a yogaParent nor yogaChildren.
|
||||
// - This node is a Yoga tree root: it has no yogaParent, but has yogaChildren.
|
||||
|
||||
Reference in New Issue
Block a user