Revision: 14594
http://sourceforge.net/p/skim-app/code/14594
Author: hofman
Date: 2024-10-27 16:52:12 +0000 (Sun, 27 Oct 2024)
Log Message:
-----------
inset rect instead of fixed rect
Modified Paths:
--------------
trunk/SKNoteWindowController.m
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2024-10-27 16:38:38 UTC (rev 14593)
+++ trunk/SKNoteWindowController.m 2024-10-27 16:52:12 UTC (rev 14594)
@@ -110,7 +110,7 @@
[noteIcons[i] setTemplate:YES];
}
noteIcons[kSKNPDFTextAnnotationIconImage] = [NSImage
imageWithSize:SKNPDFAnnotationNoteSize flipped:NO drawingHandler:^(NSRect r){
- NSBezierPath *path = [NSBezierPath
bezierPathWithRoundedRect:NSMakeRect(1.5, 1.5, 13.0, 13.0) xRadius:1.0
yRadius:1.0];
+ NSBezierPath *path = [NSBezierPath
bezierPathWithRoundedRect:NSInsetRect(r, 1.5, 1.5) xRadius:1.0 yRadius:1.0];
CGFloat dash = 3.0;
[path setLineDash:&dash count:1 phase:0.0];
[path setLineWidth:1.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