Fix an issue where window levels weren't kept in sync with dom window layers.

Closes #507.
This commit is contained in:
Ross Boucher
2010-03-06 00:57:59 -08:00
parent 3cefc86fbf
commit c514fd7a08
4 changed files with 36 additions and 11 deletions
+1 -2
View File
@@ -61,8 +61,7 @@ var _CPMenuBarWindowBackgroundColor = nil,
if (self)
{
// FIXME: http://280north.lighthouseapp.com/projects/13294-cappuccino/tickets/39-dont-allow-windows-to-go-above-menubar
[self setLevel:-1];//CPTornOffMenuWindowLevel];
[self setLevel:CPMainMenuWindowLevel];
[self setAutoresizingMask:CPWindowWidthSizable];
var contentView = [self contentView];