addressed some comments

This commit is contained in:
rcancro
2016-05-03 21:55:04 -07:00
parent 8bb4eba080
commit b4a6f87ca6
14 changed files with 59 additions and 60 deletions

View File

@@ -80,7 +80,7 @@
id<ASLayoutable> finalLayoutable = [child finalLayoutable];
if (finalLayoutable != child) {
if (ASEnvironmentStateUpwardPropagationEnabled()) {
if (ASEnvironmentStatePropagationEnabled()) {
ASEnvironmentStatePropagateUp(finalLayoutable, child.environmentState.layoutOptionsState);
} else {
// If state propagation is not enabled the layout options state needs to be copied manually
@@ -183,12 +183,12 @@
// the specifications that are known to have more than one.
- (BOOL)supportsUpwardPropagation
{
return ASEnvironmentStateUpwardPropagationEnabled();
return ASEnvironmentStatePropagationEnabled();
}
- (BOOL)supportsDownwardPropagation
- (BOOL)supportsTraitsCollectionPropagation
{
return ASEnvironmentStateDownwardPropagationEnabled();
return ASEnvironmentStateTraitCollectionPropagationEnabled();
}
- (void)propagateUpLayoutable:(id<ASLayoutable>)layoutable