aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PSMTabBar/PSMTabDragWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabDragWindowController.m')
-rw-r--r--Frameworks/PSMTabBar/PSMTabDragWindowController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabDragWindowController.m b/Frameworks/PSMTabBar/PSMTabDragWindowController.m
index 018bca17..43340786 100644
--- a/Frameworks/PSMTabBar/PSMTabDragWindowController.m
+++ b/Frameworks/PSMTabBar/PSMTabDragWindowController.m
@@ -12,7 +12,7 @@
@implementation PSMTabDragWindowController
-- (id)initWithImage:(NSImage *)image styleMask:(NSUInteger)styleMask tearOffStyle:(PSMTabBarTearOffStyle)tearOffStyle
+- (id)initWithImage:(NSImage *)image styleMask:(NSUInteger)styleMask tearOffStyle:(PSMTabBarTearOffStyle)tearOffStyle initialAlpha:(CGFloat)initialAlpha
{
PSMTabDragWindow *window = [PSMTabDragWindow dragWindowWithImage:image styleMask:styleMask];
if ( (self = [super initWithWindow:window]) ) {
@@ -24,7 +24,7 @@
[window setHasShadow:YES];
}
- [window setAlphaValue:kPSMTabDragWindowAlpha];
+ [window setAlphaValue:initialAlpha];
}
return self;
}