On Mon, Mar 14, 2011 at 1:13 PM, James Bucanek <[email protected]> wrote: > Here's the weird thing: sometimes, but not all the time, the CALayers in the > nested subviews draw ON TOP OF the CALayers in the top-level overlay view. > It's almost as if whatever the last CALayer that gets drawn, draws on top of > all of the other CAlayers in the window. This seems really strange, because > within a single CALayer, sublayers appear to be strictly ordered and always > draw over the layers behind them.
You're not putting subviews inside of layer-hosting views, are you? We have a simpler version of what you describe (a scroll view contains both a layer-hosting document view as well as a layer-backed view added with -addSubview:layerBackedView positioned:NSWindowAbove relativeTo:[scrollView documentView]) that works fine. But the layer-backed glue can be very fickle with view Z-ordering. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
