NSCollectionView and drag tolerance
NSCollectionView and drag tolerance
- Subject: NSCollectionView and drag tolerance
- From: Harry Vangberg <email@hidden>
- Date: Sun, 1 Nov 2009 23:42:43 +0100
Hello
I have a NSCollectionView with setAllowsMultipleSelection:NO, which is a drag
source via NSCollectionViewDelegate. That works great, except for one thing:
to start a drag you must hold the mouse down in the same spot for roughly 1
second, which makes it almost impossible to use on a touchscreen, where
clicking the same spot for 1 second is more than difficult. So: is there some
way to
a) Make the drag happen instantly, without the delay, which I believe is
there because of the ability to select multiple view items. That
doesn't matter though, because I don't allow that, as stated earlier.
or
b) Add some kind of 'tolerance radius' inside which the mouse down event
must happen, which would make it possible to initiate a drag via the
less-than-precise control a touchscreen is.
This is with 10.6.
Thanks,
Harry
_______________________________________________
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