project_files/HedgewarsMobile/Classes/HoldTableViewCell.m
changeset 8441 a00b0fa0dbd7
parent 6832 fae8fd118da9
child 10108 c68cf030eded
--- a/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m	Sat Jan 26 23:56:10 2013 +0100
+++ b/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m	Sat Jan 26 23:57:37 2013 +0100
@@ -35,8 +35,8 @@
 
 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
     UITouch *touch = [[event allTouches] anyObject];
-    
-    time = touch.timestamp; 
+
+    time = touch.timestamp;
     [self performSelector:@selector(holdAction) withObject:nil afterDelay:0.25];
 
     [super touchesBegan:touches withEvent:event];
@@ -44,12 +44,12 @@
 
 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
     UITouch *touch = [[event allTouches] anyObject];
-    
+
     if ( touch.timestamp - time < 0.25 ) {
         [NSObject cancelPreviousPerformRequestsWithTarget:self
                                                  selector:@selector(holdAction)
                                                    object:nil];
-        
+
         [super touchesEnded:touches withEvent:event];
     } else
         [super touchesCancelled:touches withEvent:event];