Skip to content

Commit

Permalink
Don't compile out ASExperimentalTextNode if ASTextNode is compiled out (
Browse files Browse the repository at this point in the history
  • Loading branch information
maicki authored and hebertialmeida committed May 10, 2019
1 parent c284847 commit 60ee8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ASExperimentalFeatures.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ NS_ASSUME_NONNULL_BEGIN
*/
typedef NS_OPTIONS(NSUInteger, ASExperimentalFeatures) {
ASExperimentalGraphicsContexts = 1 << 0, // exp_graphics_contexts
#if AS_ENABLE_TEXTNODE
// If AS_ENABLE_TEXTNODE=0 or TextNode2 subspec is used this setting is a no op and ASTextNode2
// will be used in all cases
ASExperimentalTextNode = 1 << 1, // exp_text_node
#endif
ASExperimentalInterfaceStateCoalescing = 1 << 2, // exp_interface_state_coalesce
ASExperimentalUnfairLock = 1 << 3, // exp_unfair_lock
ASExperimentalLayerDefaults = 1 << 4, // exp_infer_layer_defaults
Expand Down

0 comments on commit 60ee8d4

Please sign in to comment.