Skip to content
Snippets Groups Projects
Commit 955979aa authored by George Nachman's avatar George Nachman
Browse files

Add debug logging to tab library to record mouse down event preceding a drag

parent f9708450
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,6 +7,8 @@
//
 
#import "PSMTabBarControl.h"
#import "DebugLogging.h"
#import "PSMTabBarCell.h"
#import "PSMOverflowPopUpButton.h"
#import "PSMRolloverButton.h"
Loading
Loading
@@ -1287,6 +1289,7 @@ const NSInteger kPSMStartResizeAnimation = 0;
[[self delegate] respondsToSelector:@selector(tabView:shouldDragTabViewItem:fromTabBar:)] &&
[[self delegate] tabView:_tabView shouldDragTabViewItem:[cell representedObject] fromTabBar:self]) {
_didDrag = YES;
ILog(@"Start dragging with mouse down event %@ in window %p with frame %@", [self lastMouseDownEvent], self.window, NSStringFromRect(self.window.frame));
[[PSMTabDragAssistant sharedDragAssistant] startDraggingCell:cell fromTabBar:self withMouseDownEvent:[self lastMouseDownEvent]];
}
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment