mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-26 16:35:52 +00:00
_CPThemeAttribute -setValue should not blow away existing values.
This commit is contained in:
1 parent
835d89774a
commit
ea0a47a845
1 file changed
+1
-6
+1
-6
@@ -519,12 +519,7 @@ CPThemeStateCircular = CPThemeState("circular");
|
||||
|
||||
- (void)setValue:(id)aValue
|
||||
{
|
||||
_cache = {};
|
||||
|
||||
if (aValue === undefined || aValue === nil)
|
||||
_values = [CPDictionary dictionary];
|
||||
else
|
||||
_values = [CPDictionary dictionaryWithObject:aValue forKey:String(CPThemeStateNormal)];
|
||||
[self setValue:aValue forState:CPThemeStateNormal];
|
||||
}
|
||||
|
||||
- (void)setValue:(id)aValue forState:(CPThemeState)aState
|
||||
|
||||
Reference in new issue
Block a user