Revision: 15634
          http://sourceforge.net/p/skim-app/code/15634
Author:   hofman
Date:     2025-07-10 16:16:43 +0000 (Thu, 10 Jul 2025)
Log Message:
-----------
relayout text note editor after scale change from pdfvieww

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2025-07-10 15:52:14 UTC (rev 15633)
+++ trunk/SKPDFView.m   2025-07-10 16:16:43 UTC (rev 15634)
@@ -3193,6 +3193,7 @@
 - (void)handleScaleChangedNotification:(NSNotification *)notification {
     [self resetPDFToolTipRects];
     [self updatePacer];
+    [editor layoutWithEvent:nil];
 }
 
 - (void)handleUpdateTrackingAreasNotification:(NSNotification *)notification {

Modified: trunk/SKTextNoteEditor.m
===================================================================
--- trunk/SKTextNoteEditor.m    2025-07-10 15:52:14 UTC (rev 15633)
+++ trunk/SKTextNoteEditor.m    2025-07-10 16:16:43 UTC (rev 15634)
@@ -147,7 +147,6 @@
     
     [self updateParagraphStyle];
     
-    [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(updateFrame:) name:PDFViewScaleChangedNotification 
object:pdfView];
     [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(updateFrame:) name:SKPDFPageBoundsDidChangeNotification 
object:[pdfView document]];
 }
 

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