Skip to content

Commit

Permalink
Merge Wave39's changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitribouniol committed Jan 21, 2015
2 parents 1f740e9 + c78bde2 commit 699dbec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/MDSpreadView.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ extern NSString *MDSpreadViewSelectionDidChangeNotification __attribute__((unava
NSMutableArray *columnSections;
NSMutableArray *rowSections;

UIView *dummyView;
UIView *dummyViewB;
// UIView *dummyView;
// UIView *dummyViewB;

CGSize dequeuedCellSizeHint;
MDIndexPath *dequeuedCellRowIndexHint;
Expand Down
2 changes: 0 additions & 2 deletions Classes/MDSpreadView.m
Original file line number Diff line number Diff line change
Expand Up @@ -3922,12 +3922,10 @@ - (void)_touchesEndedInCell:(MDSpreadViewCell *)cell

MDSpreadViewSelectionMode resolvedSelectionMode = MDSpreadViewSelectionModeAutomatic;

BOOL override = NO;
MDSortDescriptor *sortDescriptorPrototype = nil;
if (_autoAllowSortableHeaderSelection) {
if ([(MDSpreadViewHeaderCell *)cell respondsToSelector:@selector(sortDescriptorPrototype)] && [(MDSpreadViewHeaderCell *)cell sortDescriptorPrototype]) {
sortDescriptorPrototype = [(MDSpreadViewHeaderCell *)cell sortDescriptorPrototype];
override = YES;

resolvedSelectionMode = MDSpreadViewSelectionModeCell + sortDescriptorPrototype.sortAxis;
}
Expand Down

0 comments on commit 699dbec

Please sign in to comment.