Revision: 28777
          http://sourceforge.net/p/bibdesk/svn/28777
Author:   hofman
Date:     2024-02-20 16:47:08 +0000 (Tue, 20 Feb 2024)
Log Message:
-----------
make file view first responder on mouse down, this does not happen 
automatically when covered by other views apparently

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-02-20 
15:37:42 UTC (rev 28776)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-02-20 
16:47:08 UTC (rev 28777)
@@ -3238,6 +3238,9 @@
 {
     _fvFlags.isMouseDown = YES;
     
+    //apparently the view does not become first responder when it is not on top
+    [[self window] makeFirstResponder:self];
+    
     NSPoint p = [event locationInWindow];
     p = [self convertPoint:p fromView:nil];
     _lastMouseDownLocInView = p;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to