Revision: 14596
http://sourceforge.net/p/skim-app/code/14596
Author: hofman
Date: 2024-10-28 09:34:23 +0000 (Mon, 28 Oct 2024)
Log Message:
-----------
don't accept drags when hiding notes
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2024-10-28 09:29:57 UTC (rev 14595)
+++ trunk/SKPDFView.m 2024-10-28 09:34:23 UTC (rev 14596)
@@ -2153,7 +2153,7 @@
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender {
NSDragOperation dragOp = NSDragOperationNone;
NSPasteboard *pboard = [sender draggingPasteboard];
- if ([pboard canReadItemWithDataConformingToTypes:@[NSPasteboardTypeColor,
SKPasteboardTypeLineStyle]]) {
+ if ([self hideNotes] == NO && [pboard
canReadItemWithDataConformingToTypes:@[NSPasteboardTypeColor,
SKPasteboardTypeLineStyle]]) {
return [self draggingUpdated:sender];
} else if ([[SKPDFView superclass] instancesRespondToSelector:_cmd]) {
dragOp = [super draggingEntered:sender];
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