aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPWindowAdditions.m')
-rw-r--r--Source/SPWindowAdditions.m19
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/SPWindowAdditions.m b/Source/SPWindowAdditions.m
index 7fd7a780..4514ac48 100644
--- a/Source/SPWindowAdditions.m
+++ b/Source/SPWindowAdditions.m
@@ -69,23 +69,4 @@
[self setFrame:frame display:YES animate:YES];
}
-/**
- * Three finger multi-touch right/left swipe event to go back/forward in table history.
- */
-- (void)swipeWithEvent:(NSEvent *)anEvent
-{
-
- if(![[self delegate] isKindOfClass:[SPWindowController class]] || ![[[self delegate] documents] count]) return;
-
- id frontDoc = [[self delegate] selectedTableDocument];
-
- if( frontDoc && [frontDoc isKindOfClass:[SPDatabaseDocument class]]
- && [frontDoc valueForKeyPath:@"spHistoryControllerInstance"]
- && ![frontDoc isWorking])
- if([anEvent deltaX] == -1.0f)
- [[frontDoc valueForKeyPath:@"spHistoryControllerInstance"] valueForKey:@"goForwardInHistory"];
- else if([anEvent deltaX] == 1.0f)
- [[frontDoc valueForKeyPath:@"spHistoryControllerInstance"] valueForKey:@"goBackInHistory"];
-}
-
@end