Fix for menus not having the proper font.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2009-12-04 11:35:40 -08:00
parent c7581c0847
commit becdf2bfeb
@@ -119,6 +119,11 @@ var SUBMENU_INDICATOR_COLOR = nil,
return _textShadowColor || [CPColor colorWithWhite:1.0 alpha:0.8];
}
- (void)setFont:(CPFont)aFont
{
_font = aFont;
}
- (void)update
{
var x = LEFT_MARGIN + [_menuItem indentationLevel] * INDENTATION_WIDTH,