Fix for HUD button misrendered in Aristo theme gallery until pressed for first time.

Closes #141.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-05-23 13:04:29 -07:00
1 parent f6a731ff91
commit 83bceaa867
1 file changed
+3
+3
View File
@@ -2107,6 +2107,9 @@ setBoundsOrigin:
for (var attributeName in _themeAttributes)
if (_themeAttributes.hasOwnProperty(attributeName))
[_themeAttributes[attributeName] setParentAttribute:[theme _attributeWithName:attributeName forClass:themeClass]];
[self setNeedsLayout];
[self setNeedsDisplay:YES];
}
- (CPDictionary)_themeAttributeDictionary