#3637 Swipe to change inspector tab

This commit is contained in:
Mitchell Livingston 2010-10-15 23:38:11 +00:00
parent d908c7fc9e
commit 9be5d37de0
1 changed files with 8 additions and 0 deletions

View File

@ -501,4 +501,12 @@ typedef enum
[self resetInfo];
}
- (void) swipeWithEvent:(NSEvent *) event
{
if ([event deltaX] < 0.0)
[self setNextTab];
else if ([event deltaX] > 0.0)
[self setPreviousTab];
}
@end