Revision: 13540
http://sourceforge.net/p/skim-app/code/13540
Author: hofman
Date: 2023-07-26 22:19:35 +0000 (Wed, 26 Jul 2023)
Log Message:
-----------
set some cursor image interpolation to None on 10.10, not on later OS versions.
Didn't have an effect in PDF images anyway.
Modified Paths:
--------------
trunk/NSImage_SKExtensions.m
Modified: trunk/NSImage_SKExtensions.m
===================================================================
--- trunk/NSImage_SKExtensions.m 2023-07-26 16:36:17 UTC (rev 13539)
+++ trunk/NSImage_SKExtensions.m 2023-07-26 22:19:35 UTC (rev 13540)
@@ -1610,7 +1610,7 @@
+ (void)makeCursorImages {
MAKE_VECTOR_IMAGE(SKImageNameResizeDiagonal45Cursor, NO, 16.0, 16.0,
- if (RUNNING_AFTER(10_11))
+ if (RUNNING_BEFORE(10_11))
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationNone];
[[NSGraphicsContext currentContext] setShouldAntialias:NO];
[[NSColor whiteColor] setFill];
@@ -1665,7 +1665,7 @@
);
MAKE_VECTOR_IMAGE(SKImageNameResizeDiagonal135Cursor, NO, 16.0, 16.0,
- if (RUNNING_AFTER(10_11))
+ if (RUNNING_BEFORE(10_11))
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationNone];
[[NSGraphicsContext currentContext] setShouldAntialias:NO];
[[NSColor whiteColor] setFill];
@@ -1780,7 +1780,7 @@
);
MAKE_VECTOR_IMAGE(SKImageNameCameraCursor, NO, 18.0, 16.0,
- if (RUNNING_AFTER(10_11))
+ if (RUNNING_BEFORE(10_11))
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationNone];
[[NSColor whiteColor] set];
NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(1.0,
2.0, 16.0, 11.0)];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit