project_files/HedgewarsMobile/Classes/ExtraCategories.m
branchios-revival
changeset 11104 eea0481d2ae1
parent 10108 c68cf030eded
child 11140 3fbe54013b2b
equal deleted inserted replaced
11103:4f526dcb40db 11104:eea0481d2ae1
    31          theScale = [self scale];
    31          theScale = [self scale];
    32     return theScale;
    32     return theScale;
    33 }
    33 }
    34 
    34 
    35 -(CGRect) safeBounds {
    35 -(CGRect) safeBounds {
    36     CGRect original = [self bounds];
    36     return [self bounds];
    37     if (IS_ON_PORTRAIT())
    37 //    CGRect original = [self bounds];
    38         return original;
    38 //    if (IS_ON_PORTRAIT())
    39     else
    39 //        return original;
    40         return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width);
    40 //    else
       
    41 //        return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width);
    41 }
    42 }
    42 
    43 
    43 @end
    44 @end
    44 
    45 
    45 
    46