project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 4008 d87619de120d
parent 3996 eb549fd864a5
child 4358 0445d807193e
equal deleted inserted replaced
4007:c76c895825ab 4008:d87619de120d
   148                 SDL_iPhoneKeyboardShow(sdlwindow);
   148                 SDL_iPhoneKeyboardShow(sdlwindow);
   149             }
   149             }
   150             break;
   150             break;
   151         case 2:
   151         case 2:
   152             // expand the view (and table) so that the actionsheet can be selected on the iPhone
   152             // expand the view (and table) so that the actionsheet can be selected on the iPhone
   153             if (IS_IPAD()) {
   153             if (IS_IPAD() == NO) {
   154                 CGRect screen = [[UIScreen mainScreen] bounds];
   154                 CGRect screen = [[UIScreen mainScreen] bounds];
   155                 [self.tableView deselectRowAtIndexPath:indexPath animated:NO];
   155                 [self.tableView deselectRowAtIndexPath:indexPath animated:NO];
   156                 [UIView beginAnimations:@"table width more" context:NULL];
   156                 [UIView beginAnimations:@"table width more" context:NULL];
   157                 [UIView setAnimationDuration:0.2];
   157                 [UIView setAnimationDuration:0.2];
   158                 self.view.frame = CGRectMake(0, 0, screen.size.height, screen.size.width);
   158                 self.view.frame = CGRectMake(0, 0, screen.size.height, screen.size.width);