#3637 Swipe to change inspector tab
This commit is contained in:
parent
d908c7fc9e
commit
9be5d37de0
|
@ -501,4 +501,12 @@ typedef enum
|
||||||
[self resetInfo];
|
[self resetInfo];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) swipeWithEvent:(NSEvent *) event
|
||||||
|
{
|
||||||
|
if ([event deltaX] < 0.0)
|
||||||
|
[self setNextTab];
|
||||||
|
else if ([event deltaX] > 0.0)
|
||||||
|
[self setPreviousTab];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue