- Some weird staff with bounds commented here ios-revival
authorantonc27 <antonc27@mail.ru>
Mon, 10 Aug 2015 22:48:02 +0200
branchios-revival
changeset 11104 eea0481d2ae1
parent 11103 4f526dcb40db
child 11105 379226b854ae
- Some weird staff with bounds commented here
project_files/HedgewarsMobile/Classes/ExtraCategories.m
--- a/project_files/HedgewarsMobile/Classes/ExtraCategories.m	Mon Aug 10 22:47:37 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/ExtraCategories.m	Mon Aug 10 22:48:02 2015 +0200
@@ -33,11 +33,12 @@
 }
 
 -(CGRect) safeBounds {
-    CGRect original = [self bounds];
-    if (IS_ON_PORTRAIT())
-        return original;
-    else
-        return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width);
+    return [self bounds];
+//    CGRect original = [self bounds];
+//    if (IS_ON_PORTRAIT())
+//        return original;
+//    else
+//        return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width);
 }
 
 @end