cocoaTouch/OverlayViewController.m
changeset 3479 972ae3ec178a
parent 3463 23c50be687a9
child 3490 016b3172b645
--- a/cocoaTouch/OverlayViewController.m	Sun May 23 19:37:31 2010 +0000
+++ b/cocoaTouch/OverlayViewController.m	Sun May 23 22:05:59 2010 +0000
@@ -48,30 +48,24 @@
             sdlView.transform = CGAffineTransformMakeRotation(degreesToRadian(0));
             self.view.transform = CGAffineTransformMakeRotation(degreesToRadian(90));
             [self chatDisappear];
-            [dimTimer setFireDate:HIDING_TIME_DEFAULT];
             HW_setLandscape(YES);
             break;
         case UIDeviceOrientationLandscapeRight:
             sdlView.transform = CGAffineTransformMakeRotation(degreesToRadian(180));
             self.view.transform = CGAffineTransformMakeRotation(degreesToRadian(-90));
             [self chatDisappear];
-            [dimTimer setFireDate:HIDING_TIME_DEFAULT];
             HW_setLandscape(YES);
             break;
         case UIDeviceOrientationPortrait:
             sdlView.transform = CGAffineTransformMakeRotation(degreesToRadian(270));
             self.view.transform = CGAffineTransformMakeRotation(degreesToRadian(0));
             [self chatAppear];
-            [self activateOverlay];
-            [dimTimer setFireDate:HIDING_TIME_NEVER];
             HW_setLandscape(NO);
             break;
         case UIDeviceOrientationPortraitUpsideDown:
             sdlView.transform = CGAffineTransformMakeRotation(degreesToRadian(90));
             self.view.transform = CGAffineTransformMakeRotation(degreesToRadian(180));
             [self chatAppear];
-            [self activateOverlay];
-            [dimTimer setFireDate:HIDING_TIME_NEVER];
             HW_setLandscape(NO);
             break;
         default:
@@ -98,7 +92,8 @@
         [self.view addSubview:writeChatTextField];
     }
     writeChatTextField.alpha = 1;
-    //[self activateOverlay];
+    [self activateOverlay];
+    [dimTimer setFireDate:HIDING_TIME_NEVER];
 }
 
 -(void) chatDisappear {