project_files/HedgewarsMobile/Classes/WeaponCellView.m
changeset 3996 eb549fd864a5
parent 3829 81db3c85784b
child 4976 088d40d8aba2
equal deleted inserted replaced
3995:360332f8785f 3996:eb549fd864a5
   131 
   131 
   132     CGRect contentRect = self.contentView.bounds;
   132     CGRect contentRect = self.contentView.bounds;
   133     CGFloat shiftSliders = contentRect.origin.x;
   133     CGFloat shiftSliders = contentRect.origin.x;
   134     CGFloat shiftLabel = 0;
   134     CGFloat shiftLabel = 0;
   135 
   135 
   136     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
   136     if (IS_IPAD()) {
   137         shiftSliders += 65;
   137         shiftSliders += 65;
   138         shiftLabel += 165;
   138         shiftLabel += 165;
   139     } else
   139     } else
   140         shiftSliders -= 13;
   140         shiftSliders -= 13;
   141 
   141