Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows. (original) (raw)
Mike Swingler swingler at apple.com
Tue Jan 31 10:52:49 PST 2012
- Previous message: Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows.
- Next message: Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jan 31, 2012, at 11:04 AM, Dmitry Cherepanov wrote:
The cause of the problem with broken shadows is that currently NSWindow's background color is [NSWindow clearColor] and it makes shadows invisible. The fix implements Mike's suggestion and now we draw pure transparent pixels into a CALayer so that the native background color will be visible through transparent areas of the CALayer.
Looks great.
Cheers, Mike Swingler Apple Inc.
- Previous message: Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows.
- Next message: Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]