Revision: 13561
http://sourceforge.net/p/skim-app/code/13561
Author: hofman
Date: 2023-08-03 23:17:11 +0000 (Thu, 03 Aug 2023)
Log Message:
-----------
don't fill some note tool cursors
Modified Paths:
--------------
trunk/NSImage_SKExtensions.m
Modified: trunk/NSImage_SKExtensions.m
===================================================================
--- trunk/NSImage_SKExtensions.m 2023-08-03 22:48:27 UTC (rev 13560)
+++ trunk/NSImage_SKExtensions.m 2023-08-03 23:17:11 UTC (rev 13561)
@@ -2101,9 +2101,10 @@
static void drawCircleNoteBackground() {
[NSGraphicsContext saveGraphicsState];
[NSShadow setShadowWithWhite:0.0 alpha:0.33333 blurRadius:2.0
yOffset:-1.0];
- [[NSColor whiteColor] setFill];
- NSBezierPath *path = [NSBezierPath
bezierPathWithOvalInRect:NSMakeRect(3.0, 3.0, 15.0, 14.0)];
- [path fill];
+ [[NSColor whiteColor] setStroke];
+ NSBezierPath *path = [NSBezierPath
bezierPathWithOvalInRect:NSMakeRect(4.5, 4.5, 12.0, 11.0)];
+ [path setLineWidth:3.0];
+ [path stroke];
[NSGraphicsContext restoreGraphicsState];
}
@@ -2110,9 +2111,10 @@
static void drawSquareNoteBackground() {
[NSGraphicsContext saveGraphicsState];
[NSShadow setShadowWithWhite:0.0 alpha:0.33333 blurRadius:2.0
yOffset:-1.0];
- [[NSColor whiteColor] setFill];
- NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(3.0, 3.0,
15.0, 14.0)];
- [path fill];
+ [[NSColor whiteColor] setStroke];
+ NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.5, 4.5,
12.0, 11.0)];
+ [path setLineWidth:3.0];
+ [path stroke];
[NSGraphicsContext restoreGraphicsState];
}
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