Revision: 16626
http://sourceforge.net/p/skim-app/code/16626
Author: hofman
Date: 2026-10-07 09:23:07 +0000 (Wed, 07 Oct 2026)
Log Message:
-----------
should add curve after break when not holding option
Modified Paths:
--------------
trunk/SKPDFView.m
trunk/SKPresentationView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2026-10-07 09:19:18 UTC (rev 16625)
+++ trunk/SKPDFView.m 2026-10-07 09:23:07 UTC (rev 16626)
@@ -4327,7 +4327,10 @@
} else if (wantsBreak) {
if (NO == NSEqualPoints(prevPoint, oldPrevPoint))
[bezierPath lineToPoint:prevPoint];
- [bezierPath lineToPoint:point];
+ if (isOption)
+ [bezierPath lineToPoint:point];
+ else
+ [PDFAnnotation addPoint:point toSkimNotesPath:bezierPath];
} else {
[PDFAnnotation addPoint:point toSkimNotesPath:bezierPath];
}
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2026-10-07 09:19:18 UTC (rev 16625)
+++ trunk/SKPresentationView.m 2026-10-07 09:23:07 UTC (rev 16626)
@@ -1020,7 +1020,10 @@
} else if (wantsBreak) {
if (NO == NSEqualPoints(prevPoint, oldPrevPoint))
[bezierPath lineToPoint:prevPoint];
- [bezierPath lineToPoint:point];
+ if (isOption)
+ [bezierPath lineToPoint:point];
+ else
+ [PDFAnnotation addPoint:point toSkimNotesPath:bezierPath];
} else {
[PDFAnnotation addPoint:point toSkimNotesPath:bezierPath];
}
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