Revision: 29115
http://sourceforge.net/p/bibdesk/svn/29115
Author: hofman
Date: 2025-04-17 09:04:37 +0000 (Thu, 17 Apr 2025)
Log Message:
-----------
Add PDF arrows to fileview self rather than contentView, so we can simply
return nil from hitTest: in display views.
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-17
08:59:20 UTC (rev 29114)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-17
09:04:37 UTC (rev 29115)
@@ -3088,8 +3088,8 @@
// set enabled states
[self _updateButtonsForIcon:anIcon];
- [_contentView addSubview:_leftArrow];
- [_contentView addSubview:_rightArrow];
+ [self addSubview:_leftArrow];
+ [self addSubview:_rightArrow];
if ([_leftArrow alphaValue] < 1.0) {
[NSAnimationContext runAnimationGroup:^(NSAnimationContext
*context){
@@ -5070,11 +5070,7 @@
- (BOOL)isFlipped { return YES; }
-- (NSView *)hitTest:(NSPoint)point {
- NSView *view = [super hitTest:point];
- return view == self ? nil : view;
-
-}
+- (NSView *)hitTest:(NSPoint)point { return nil; }
- (void)drawRect:(NSRect)dirtyRect {
[_delegate drawRect:dirtyRect inView:self];
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