This commit is contained in:
rcancro 2015-09-11 16:13:18 -07:00
parent b14e189bfb
commit 2e3d59a73e
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
- (void)setValuesFromLayoutable:(id<ASLayoutable>)layoutable;
#pragma mark - Subclasses should implement these!
- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions;
- (void)propagateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions;
#pragma mark - ASStackLayoutable

View File

@ -86,11 +86,11 @@ static Class gDefaultLayoutOptionsClass = nil;
- (id)copyWithZone:(NSZone *)zone
{
ASLayoutOptions *copy = [[[self class] alloc] init];
[copy propogateOptionsFromLayoutOptions:self];
[copy propagateOptionsFromLayoutOptions:self];
return copy;
}
- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions
- (void)propagateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions
{
ASDN::MutexLocker l(_propertyLock);
self.flexBasis = layoutOptions.flexBasis;

View File

@ -82,7 +82,7 @@ static NSString * const kDefaultChildrenKey = @"kDefaultChildrenKey";
id<ASLayoutable> finalLayoutable = [child finalLayoutable];
if (finalLayoutable != child) {
[finalLayoutable.layoutOptions propogateOptionsFromLayoutOptions:child.layoutOptions];
[finalLayoutable.layoutOptions propagateOptionsFromLayoutOptions:child.layoutOptions];
return finalLayoutable;
}
}