project_files/HedgewarsMobile/Classes/PopoverMenuViewController.m
changeset 3598 a8aa06bae895
parent 3547 02875b1145b7
equal deleted inserted replaced
3597:978c30ef50fc 3598:a8aa06bae895
   127         [UIView setAnimationDuration:0.2];
   127         [UIView setAnimationDuration:0.2];
   128         self.view.frame = CGRectMake(280, 0, 200, 170);
   128         self.view.frame = CGRectMake(280, 0, 200, 170);
   129         [UIView commitAnimations];
   129         [UIView commitAnimations];
   130     }
   130     }
   131     
   131     
   132     if ([actionSheet cancelButtonIndex] != buttonIndex) {
   132     if ([actionSheet cancelButtonIndex] != buttonIndex)
   133         [[NSNotificationCenter defaultCenter] postNotificationName:@"dismissPopover" object:nil];
       
   134         HW_terminate(NO);
   133         HW_terminate(NO);
   135     }
       
   136     else
   134     else
   137         if (!isPaused) 
   135         if (!isPaused) 
   138             HW_pause();     
   136             HW_pause();     
   139 }
   137 }
   140 
   138