[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:
appleguy
2017-06-18 18:18:59 -07:00
committed by GitHub
parent 486410d7d6
commit 8c33a617ed
7 changed files with 2 additions and 42 deletions

View File

@@ -41,13 +41,6 @@
#define YOGA __has_include(YOGA_HEADER_PATH)
#endif
// Contiguous Yoga layout attempts to build a connected tree of YGNodeRef objects, across multiple levels
// in the ASDisplayNode tree (based on .yogaChildren). When disabled, ASYogaLayoutSpec is used, with a
// disjoint Yoga tree for each level in the hierarchy. Currently, both modes are experimental.
#ifndef YOGA_TREE_CONTIGUOUS
#define YOGA_TREE_CONTIGUOUS YOGA // To enable, set to YOGA, as the code depends on YOGA also being set.
#endif
#define AS_PIN_REMOTE_IMAGE __has_include(<PINRemoteImage/PINRemoteImage.h>)
#define AS_IG_LIST_KIT __has_include(<IGListKit/IGListKit.h>)