Redraw Problem with Layer-Backed View in Scroll View
Redraw Problem with Layer-Backed View in Scroll View
- Subject: Redraw Problem with Layer-Backed View in Scroll View
- From: Drew Mccormack <email@hidden>
- Date: Thu, 8 Nov 2007 16:34:26 +0100
I have a strange redraw problem for a layer-backed view that I have
nested in an NSScrollView. The problem persists regardless of whether
I also make the scroll view layer-backed.
The problem is this: When the layer-backed view redraws, it seems to
fade in. Without the scroll view, everything draws as expected, but
with the scroll view, it looks like the view is flashing. I have put a
video online showing the effect:
http://tb.chem.vu.nl/~cormack/Public/Cocoa/CoreAnimationScrollViewProblem.mov
Some other facts:
- Subviews of the layer-backed view seem to redraw fine, and do not
fade in (see video)
- Scrolling the scroll view also works fine, with no drawing issues
- I have not set any CA effects for the view, such as transitions etc.
Has anyone else seen this and/or know a workaround?
Drew
---------------------------------------------------------
Drew McCormack
www.maccoremac.com
www.macresearch.org
www.macanics.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden