Fix for IE not loading bug.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2010-04-08 23:58:31 -07:00
1 parent aabb1fa6f2
commit abdc601d92
2 files changed
+5 -4

No files matched your search

@@ -73,7 +73,7 @@ var _CPToolbarViewBackgroundColor = nil;
var frame = CGRectMakeZero();
frame.origin = CGPointMakeCopy([self toolbarOffset]);
frame.origin = CGSizeMakeCopy([self toolbarOffset]);
frame.size = [_toolbarView frame].size;
[_toolbarBackgroundView setFrame:frame];
+4 -3
View File
@@ -36,6 +36,7 @@ var _CPWindowViewResizeIndicatorImage = nil;
CGSize _resizeIndicatorOffset;
CPView _toolbarView;
CGSize _toolbarOffset;
// BOOL _isAnimatingToolbar;
@@ -80,8 +81,8 @@ var _CPWindowViewResizeIndicatorImage = nil;
if (self)
{
_styleMask = aStyleMask;
_resizeIndicatorOffset = CGSizeMake(0.0, 0.0);
_toolbarOffset = CGSizeMake(0.0, 0.0);
_resizeIndicatorOffset = CGSizeMakeZero();
_toolbarOffset = CGSizeMakeZero();
}
return self;
@@ -269,7 +270,7 @@ var _CPWindowViewResizeIndicatorImage = nil;
- (CGSize)toolbarOffset
{
return CGSizeMakeZero();
return _toolbarOffset;
}
- (CPColor)toolbarLabelColor