Only call drawRect: is the view is visible.

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