diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 037660257..07842dc0c 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -340,6 +340,14 @@ typedef enum [self setTab: nil]; } +- (void) swipeWithEvent:(NSEvent *) event +{ + if ([event deltaX] < 0.0) + [self setNextTab]; + else if ([event deltaX] > 0.0) + [self setPreviousTab]; +} + - (void) updateInfoStats { [fViewController updateInfo]; @@ -501,12 +509,4 @@ typedef enum [self resetInfo]; } -- (void) swipeWithEvent:(NSEvent *) event -{ - if ([event deltaX] < 0.0) - [self setNextTab]; - else if ([event deltaX] > 0.0) - [self setPreviousTab]; -} - @end