project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 3649 bc35f8fee587
parent 3648 2477029463ed
child 3660 bc125bea5849
--- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Sat Jul 17 06:56:39 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Sat Jul 17 16:35:14 2010 +0200
@@ -158,9 +158,10 @@
 #pragma mark actionSheet methods
 -(void) actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger) buttonIndex {
     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone){
+        CGRect screen = [[UIScreen mainScreen] bounds];
         [UIView beginAnimations:@"table width less" context:NULL];
         [UIView setAnimationDuration:0.2];
-        self.view.frame = CGRectMake(280, 0, 200, 170);
+        self.view.frame = CGRectMake(screen.size.height-200, 0, 200, 170);
         [UIView commitAnimations];
     }