Revision: 15643
http://sourceforge.net/p/skim-app/code/15643
Author: hofman
Date: 2025-07-11 16:03:28 +0000 (Fri, 11 Jul 2025)
Log Message:
-----------
set text note editor frame before adding
Modified Paths:
--------------
trunk/SKPDFView.m
trunk/SKTextNoteEditor.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-07-11 15:49:35 UTC (rev 15642)
+++ trunk/SKPDFView.m 2025-07-11 16:03:28 UTC (rev 15643)
@@ -2775,6 +2775,7 @@
return;
editor = [[SKTextNoteEditor alloc] initWithAnnotation:currentAnnotation
delegate:self];
+ [self textNoteEditorSetFrame:editor];
[[self documentView] addSubview:editor];
[editor startEditingWithEvent:theEvent];
Modified: trunk/SKTextNoteEditor.m
===================================================================
--- trunk/SKTextNoteEditor.m 2025-07-11 15:49:35 UTC (rev 15642)
+++ trunk/SKTextNoteEditor.m 2025-07-11 16:03:28 UTC (rev 15643)
@@ -172,7 +172,6 @@
}
- (void)startEditingWithEvent:(NSEvent *)event {
- [delegate textNoteEditorSetFrame:self];
[self setUpTextView];
[[self window] recalculateKeyViewLoop];
[textView scrollPoint:NSZeroPoint];
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