Revision: 15584
          http://sourceforge.net/p/skim-app/code/15584
Author:   hofman
Date:     2025-07-02 14:13:45 +0000 (Wed, 02 Jul 2025)
Log Message:
-----------
register user name

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2025-07-02 09:41:48 UTC (rev 15583)
+++ trunk/SKPDFView.m   2025-07-02 14:13:45 UTC (rev 15584)
@@ -1236,9 +1236,10 @@
     
     if ([newAnnotations count] == 1) {
         
+        PDFAnnotation *newAnnotation = [newAnnotations firstObject];
         page = [self currentPage];
-        PDFAnnotation *newAnnotation = [newAnnotations firstObject];
         [newAnnotation setBounds:SKConstrainRect([newAnnotation bounds], [page 
boundsForBox:[self displayBox]])];
+        [newAnnotation registerUserName];
         [self addAnnotation:newAnnotation toPage:page select:YES];
         
     } else if ([newAnnotations count] > 0) {

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to