|
From: <ho...@us...> - 2025-11-07 18:05:39
|
Revision: 15769
http://sourceforge.net/p/skim-app/code/15769
Author: hofman
Date: 2025-11-07 18:05:38 +0000 (Fri, 07 Nov 2025)
Log Message:
-----------
no need to check whether note draws image when resizing
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-11-07 17:51:19 UTC (rev 15768)
+++ trunk/SKPDFView.m 2025-11-07 18:05:38 UTC (rev 15769)
@@ -4117,7 +4117,7 @@
if (shiftDown && ratio <= 0.0) {
if ([currentAnnotation isInk]) {
ratio = fmax(1.0, NSWidth(originalBounds) - 2.0 * margin) / fmax(1.0, NSHeight(originalBounds) - 2.0 * margin);
- } else if ([currentAnnotation isNote] && [(SKNPDFAnnotationNote *)currentAnnotation drawsImage] && [currentAnnotation image]) {
+ } else if ([currentAnnotation isNote] && [currentAnnotation image]) {
NSSize size = [[currentAnnotation image] size];
ratio = size.width / size.height;
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|