-mouseDragged: invoked when it should not (and without mouseDown)
-mouseDragged: invoked when it should not (and without mouseDown)
- Subject: -mouseDragged: invoked when it should not (and without mouseDown)
- From: Tae Won Ha <email@hidden>
- Date: Thu, 24 Jan 2013 20:30:27 +0100
Hi, guys. I need some help in event handling. I have a custom view
embedded in a scroll view which is embedded in a split view. The window
has got a toolbar. When I move the window down by dragging the toolbar,
very often the -mouseDragged: of my custom view gets invoked. Curiously
enough, it does not seem to happen when I drag the window up. My questions:
- Why?
- When I NSLog() things, I see that -mouseDown: of the custom view is
not invoked. What's going on?
It's the following file
https://github.com/qvacua/qmind/blob/master/Qmind/QMMindmapView.m
from line 706.
I created a dummy project which has got a dummy -mouseDragged:
implementation inside a window with a toolbar. In the dummy project it
does not happen at all.
I'm clueless. Am I missing something quite simple here? Anybody had
similar problems?
Thanks in advance.
Best,
Tae
--
http://qvacua.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden