Fix for setting toolbar on bridge window losing its origin.

Signed-off-by: 280 North, Inc. <admin+280north@280north.com>
This commit is contained in:
nciagra authored and 280 North, Inc. committed 2009-03-23 02:47:25 +08:00
1 parent bb2697a1d8
commit 8dc6500649
1 file changed
+6 -6
+6 -6
View File
@@ -1541,20 +1541,20 @@ CPTexturedBackgroundWindowMask
- (void)_noteToolbarChanged
{
var frame = CGRectMakeCopy([self frame]);
var frame = CGRectMakeCopy([self frame]),
newFrame;
[_windowView noteToolbarChanged];
if (_isFullBridge)
var newFrame = [_bridge contentBounds];
newFrame = [_bridge visibleFrame];
else
{
var newFrame = CGRectMakeCopy([self frame]);
newFrame = CGRectMakeCopy([self frame]);
newFrame.origin = frame.origin;
}
[self setFrame:newFrame];
/*
[_windowView setAnimatingToolbar:YES];