mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-12 21:51:28 +00:00
Only call drawRect: is the view is visible.
This commit is contained in:
@@ -1846,6 +1846,9 @@ setBoundsOrigin:
|
||||
|
||||
- (void)displayRectIgnoringOpacity:(CGRect)aRect inContext:(CPGraphicsContext)aGraphicsContext
|
||||
{
|
||||
if ([self isHidden])
|
||||
return;
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
[self lockFocus];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user