Skip to content

Commit

Permalink
Fixing indentation and some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kettch committed Jun 2, 2016
1 parent dd1e21f commit 06c91ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions JNWCollectionView/JNWCollectionViewCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ - (void)mouseExited:(NSEvent *)theEvent {
}

- (void)mouseDragged:(NSEvent *)theEvent {
[super mouseMoved:theEvent];
[super mouseMoved:theEvent];

[self.collectionView mouseDraggedInCollectionViewCell:self withEvent:theEvent];
[self.collectionView mouseDraggedInCollectionViewCell:self withEvent:theEvent];
}

- (void)rightMouseDown:(NSEvent *)theEvent {
Expand Down
4 changes: 2 additions & 2 deletions JNWCollectionView/JNWCollectionViewFramework.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ typedef NS_ENUM(NSInteger, JNWCollectionViewScrollPosition) {
@protocol JNWCollectionViewDelegate <NSObject>

@optional
/// Tells the delegate that the mouse is down inside of the item at the specified index path with specific modifier flags.
/// Tells the delegate that the mouse is down inside of the item at the specified index path with triggering event.
- (void)collectionView:(JNWCollectionView *)collectionView mouseDownInItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event;

/// Tells the delegate that the mouse click originating from the item at the specified index path is now up with specific modifier flags.
/// Tells the delegate that the mouse click originating from the item at the specified index path is now up with triggering event.
///
/// The mouse up event can occur outside of the originating cell.
- (void)collectionView:(JNWCollectionView *)collectionView mouseUpInItemAtIndexPath:(NSIndexPath *)indexPath withEvent:(NSEvent *)event;
Expand Down
4 changes: 2 additions & 2 deletions JNWCollectionView/JNWCollectionViewFramework.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ @interface JNWCollectionView() {
unsigned int delegateMouseDownWithEvent:1;
unsigned int delegateMouseUp:1;
unsigned int delegateMouseUpWithEvent:1;
unsigned int delegateMouseMoved:1;
unsigned int delegateMouseMoved:1;
unsigned int delegateMouseDragged:1;
unsigned int delegateMouseEntered:1;
unsigned int delegateMouseEntered:1;
unsigned int delegateMouseExited:1;
unsigned int delegateShouldSelect:1;
unsigned int delegateDidSelect:1;
Expand Down

0 comments on commit 06c91ad

Please sign in to comment.