Skip to content

Commit

Permalink
Add property on ASTextNode2
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-malik committed Aug 9, 2019
1 parent 3336b68 commit 255c1d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/ASTextNode2.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic) BOOL alwaysHandleTruncationTokenTap;

/**
@abstract if YES will use the value of `self.tintColor` if the foreground color of text is not defined.
@discussion This is mainly used from ASButtonNode since by default text nodes do not respect tintColor settings unless contained within a interactive control
*/
@property (nonatomic) BOOL textColorFollowsTintColor;

+ (void)enableDebugging;

#pragma mark - Layout and Sizing
Expand Down

0 comments on commit 255c1d7

Please sign in to comment.