Revision: 24182
          http://sourceforge.net/p/bibdesk/svn/24182
Author:   hofman
Date:     2019-09-02 14:26:59 +0000 (Mon, 02 Sep 2019)
Log Message:
-----------
don't make drag image transparent, the system will already do that for us

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2019-09-02 
13:47:54 UTC (rev 24181)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2019-09-02 
14:26:59 UTC (rev 24182)
@@ -2654,7 +2654,8 @@
         
         NSImage *dragImage = [[NSImage alloc] initWithSize:iconRect.size];
         [dragImage lockFocusFlipped:YES];
-        CGContextSetAlpha([[NSGraphicsContext currentContext] graphicsPort], 
0.7);
+        if (floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_6)
+            CGContextSetAlpha([[NSGraphicsContext currentContext] 
graphicsPort], 0.7);
         [transform concat];
         [self _drawIconsInRows:NSMakeRange(r, 1) columns:NSMakeRange(c, 1) 
forDragImage:YES];
         [dragImage unlockFocus];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to