Revision: 9230
          http://sourceforge.net/p/skim-app/code/9230
Author:   hofman
Date:     2017-01-29 10:33:13 +0000 (Sun, 29 Jan 2017)
Log Message:
-----------
Don't scale shadow with image scale, apparently this is now automatically 
adjusted

Modified Paths:
--------------
    trunk/NSShadow_SKExtensions.m

Modified: trunk/NSShadow_SKExtensions.m
===================================================================
--- trunk/NSShadow_SKExtensions.m       2017-01-29 10:29:21 UTC (rev 9229)
+++ trunk/NSShadow_SKExtensions.m       2017-01-29 10:33:13 UTC (rev 9230)
@@ -52,9 +52,6 @@
 }
 
 + (void)setShadowWithColor:(NSColor *)color blurRadius:(CGFloat)blurRadius 
offset:(NSSize)offset {
-    blurRadius *= [self currentScale];
-    offset.width *= [self currentScale];
-    offset.height *= [self currentScale];
     NSShadow *aShadow = [[self alloc] init];
     [aShadow setShadowColor:color];
     [aShadow setShadowBlurRadius:blurRadius];

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to