Revision: 29134
http://sourceforge.net/p/bibdesk/svn/29134
Author: hofman
Date: 2025-04-18 16:27:25 +0000 (Fri, 18 Apr 2025)
Log Message:
-----------
add rubberbandView only once
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-18
15:51:14 UTC (rev 29133)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-18
16:27:25 UTC (rev 29134)
@@ -3467,7 +3467,8 @@
#endif
rubberBandRect = [self backingAlignedRect:rubberBandRect
options:NSAlignMinXInward | NSAlignMaxXInward | NSAlignMinYInward |
NSAlignMaxYInward];
[_rubberBandView setFrame:rubberBandRect];
- [_contentView addSubview:_rubberBandView];
+ if ([_rubberBandView superview] == nil)
+ [_contentView addSubview:_rubberBandView];
[self autoscroll:event];
[super mouseDragged:event];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit