You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this - (void)collectionView:(JNWCollectionView *)collectionView mouseUpInItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event;
but it is not what I want.
I think, if a event moved,and up, it isn't a Click event.
only a event down and up(with moved),it is a Click.
(my English is poor,hahaha)
The text was updated successfully, but these errors were encountered:
Sorry for the delay. I understand what you mean. It would be ideal if there was a click event delegate method that encapsulated the logic for checking if the mouse up event occurred in the same cell as the mouse down event.
Unfortunately I don't have time to add this myself, but pull requests are welcome! It could be done by keeping a reference to the cell that captures the mouse down event, and checking in the mouse up event if the cell is identical.
I found this
- (void)collectionView:(JNWCollectionView *)collectionView mouseUpInItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event;
but it is not what I want.
I think, if a event moved,and up, it isn't a Click event.
only a event down and up(with moved),it is a Click.
(my English is poor,hahaha)
The text was updated successfully, but these errors were encountered: