project_files/HedgewarsMobile/Classes/HelpPageViewController.m
changeset 4754 a0fd8211c00f
parent 4362 8dae325dc625
child 4976 088d40d8aba2
--- a/project_files/HedgewarsMobile/Classes/HelpPageViewController.m	Wed Dec 29 00:28:39 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/HelpPageViewController.m	Thu Dec 30 02:03:24 2010 +0100
@@ -36,10 +36,10 @@
 
 // on iPhone the XIBs contain UIScrollView
 -(void) viewDidLoad {
-    if (scrollView.tag == 0)
+    if (scrollView.tag == 0)    // ipad
         scrollView.contentSize = CGSizeMake(480,650);
-    else
-        scrollView.contentSize = CGSizeMake(480,460);
+    else                        // iphone
+        scrollView.contentSize = CGSizeMake(480,470);
     scrollView.maximumZoomScale = 4.0;
     scrollView.minimumZoomScale = 0.75;
     scrollView.clipsToBounds = YES;
@@ -57,7 +57,6 @@
     [super dealloc];
 }
 
-// on iPad the XIBs contain UIControl
 -(IBAction) dismiss {
     [UIView beginAnimations:@"helpingame" context:NULL];
     self.view.alpha = 0;