Show
Ignore:
Timestamp:
10/21/04 22:11:14 (4 years ago)
Author:
timothy
Message:

Add the title to the dragged tab window.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/AICustomTabDragWindow.m

    r1823 r2046  
    3434        floaterTabImage = [[self dragTabImageForTabCell:inTabCell inCustomTabsView:inTabView] retain]; 
    3535        floaterWindowImage = [[self dragWindowImageForWindow:[inTabView window] customTabsView:inTabView tabCell:inTabCell] retain]; 
    36         useFancyAnimations = (NSAppKitVersionNumber >= 700. && floaterWindowImage); 
     36        useFancyAnimations = ( floaterWindowImage ? YES : NO ); 
    3737         
    3838        if(useFancyAnimations){ 
    3939                //Create a floating window for our tab 
    4040                dragTabFloater = [ESFloater floaterWithImage:floaterTabImage styleMask:NSBorderlessWindowMask title:nil]; 
    41                 [dragTabFloater setMaxOpacity:( transparent ? 0.75 : 1. )]; 
     41                [dragTabFloater setMaxOpacity:1.0]; 
    4242                 
    4343                //Create a floating window for the stand-alone window our tab would produce 
    44                 dragWindowFloater = [ESFloater floaterWithImage:floaterWindowImage styleMask:[[inTabView window] styleMask] title:[[inTabView window] title]]; 
    45                 [dragWindowFloater setMaxOpacity:( transparent ? 0.75 : 1. )]; 
     44                dragWindowFloater = [ESFloater floaterWithImage:floaterWindowImage styleMask:NSTitledWindowMask title:[[inTabView window] title]]; 
     45                [dragWindowFloater setMaxOpacity:(transparent ? 0.75 : 1.00)]; 
    4646        } 
    4747