fix style

This commit is contained in:
Christophe Serafin committed 2014-08-22 10:07:56 -07:00
1 parent efca50c6ac
commit 872fd126f4
1 file changed
+2 -6
+2 -6
View File
@@ -71,13 +71,9 @@
{
// Theme has not been loaded yet.
// Get attribute value directly from the theme or from the default value of the object otherwise.
var theme = [Nib2Cib defaultTheme],
frameAdjustment = [theme valueForAttributeWithName:@"nib2cib-adjustment-frame" inState:[self themeState] forClass:[self class]];
var theme = [Nib2Cib defaultTheme];
if (!frameAdjustment)
frameAdjustment = [self currentValueForThemeAttribute:@"nib2cib-adjustment-frame"];
return frameAdjustment;
return [theme valueForAttributeWithName:@"nib2cib-adjustment-frame" inState:[self themeState] forClass:[self class]] || [self currentValueForThemeAttribute:@"nib2cib-adjustment-frame"];
}
- (void)_adjustNib2CibSize