Revision: 10932
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=10932&view=rev
Author: hofman
Date: 2007-08-17 07:40:28 -0700 (Fri, 17 Aug 2007)
Log Message:
-----------
Update keyboard focus ring when dragging into dragImageView.
Modified Paths:
--------------
trunk/bibdesk/BDSKDragImageView.m
Modified: trunk/bibdesk/BDSKDragImageView.m
===================================================================
--- trunk/bibdesk/BDSKDragImageView.m 2007-08-17 11:47:00 UTC (rev 10931)
+++ trunk/bibdesk/BDSKDragImageView.m 2007-08-17 14:40:28 UTC (rev 10932)
@@ -72,6 +72,7 @@
dragOp = [delegate dragImageView:self validateDrop:sender];
if (dragOp != NSDragOperationNone) {
highlight = YES;
+ [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
[self setNeedsDisplay:YES];
}
return dragOp;
@@ -79,11 +80,13 @@
- (void)draggingExited:(id <NSDraggingInfo>)sender{
highlight = NO;
+ [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
[self setNeedsDisplay:YES];
}
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
highlight = NO;
+ [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];
[self setNeedsDisplay:YES];
if ([delegate respondsToSelector:@selector(dragImageView:acceptDrop:)])
return [delegate dragImageView:self acceptDrop:sender];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit