|
From: <ho...@us...> - 2025-07-07 09:22:56
|
Revision: 15613
http://sourceforge.net/p/skim-app/code/15613
Author: hofman
Date: 2025-07-07 09:22:53 +0000 (Mon, 07 Jul 2025)
Log Message:
-----------
no need to check for skim note, is implicit
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-07-07 09:22:05 UTC (rev 15612)
+++ trunk/SKPDFView.m 2025-07-07 09:22:53 UTC (rev 15613)
@@ -3302,9 +3302,7 @@
return ([[self currentSelection] hasCharacters] || [currentAnnotation isSkimNote] ||
(toolMode == SKToolModeSelect && NSIsEmptyRect(selectionRect) == NO && selectionPageIndex != NSNotFound && [[self document] isLocked] == NO));
} else if (action == @selector(cut:)) {
- if ([currentAnnotation isSkimNote] && [currentAnnotation isMovable])
- return YES;
- return NO;
+ return [currentAnnotation isMovable];
} else if (action == @selector(paste:)) {
return [self canSelectNote] && [[NSPasteboard generalPasteboard] canReadObjectForClasses:@[[PDFAnnotation class], [NSString class], [NSImage class]] options:@{}];
} else if (action == @selector(alternatePaste:)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|