mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 03:08:22 +00:00
fix style
This commit is contained in:
1 parent
efca50c6ac
commit
872fd126f4
1 file changed
+2
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user