Only call drawRect: is the view is visible.

This commit is contained in:
Randall Luecke committed 2010-08-12 16:03:24 -05:00
1 parent 23e9fd927c
commit ee9da8e31e
1 file changed
+3
+3
View File
@@ -1846,6 +1846,9 @@ setBoundsOrigin:
- (void)displayRectIgnoringOpacity:(CGRect)aRect inContext:(CPGraphicsContext)aGraphicsContext
{
if ([self isHidden])
return;
#if PLATFORM(DOM)
[self lockFocus];