Revision: 14627
http://sourceforge.net/p/skim-app/code/14627
Author: hofman
Date: 2024-11-02 16:25:13 +0000 (Sat, 02 Nov 2024)
Log Message:
-----------
get bounds earlier to rsuse
Modified Paths:
--------------
trunk/SKNPDFAnnotationNote_SKExtensions.m
Modified: trunk/SKNPDFAnnotationNote_SKExtensions.m
===================================================================
--- trunk/SKNPDFAnnotationNote_SKExtensions.m 2024-11-02 15:31:41 UTC (rev
14626)
+++ trunk/SKNPDFAnnotationNote_SKExtensions.m 2024-11-02 16:25:13 UTC (rev
14627)
@@ -103,8 +103,8 @@
if ([self drawsImage])
[self setDrawsImage:NO];
[self setIconType:iconType];
- if (NSEqualSizes([self bounds].size, SKNPDFAnnotationNoteSize) == NO) {
- NSRect bounds = [self bounds];
+ NSRect bounds = [self bounds];
+ if (NSEqualSizes(bounds.size, SKNPDFAnnotationNoteSize) == NO) {
bounds.origin.y = NSMaxY(bounds) - SKNPDFAnnotationNoteSize.height;
bounds.size = SKNPDFAnnotationNoteSize;
[self setBounds:bounds];
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