project_files/HedgewarsMobile/Classes/AmmoMenuViewController.m
changeset 3996 eb549fd864a5
parent 3989 adffb668f06e
child 4032 4aeab704d006
equal deleted inserted replaced
3995:360332f8785f 3996:eb549fd864a5
   295     if ([touches count] == 1) {
   295     if ([touches count] == 1) {
   296         self.view.layer.borderWidth = 3.5;
   296         self.view.layer.borderWidth = 3.5;
   297         startingPoint = [[[allTouches allObjects] objectAtIndex:0] locationInView:self.view];
   297         startingPoint = [[[allTouches allObjects] objectAtIndex:0] locationInView:self.view];
   298     }
   298     }
   299     */
   299     */
       
   300     if (IS_IPAD() == NO)
       
   301         [self disappear];
   300 }
   302 }
   301 
   303 
   302 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
   304 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
   303     //self.view.layer.borderWidth = 1.3;
   305     //self.view.layer.borderWidth = 1.3;
   304 }
   306 }