# HG changeset patch # User antonc27 # Date 1439239682 -7200 # Node ID eea0481d2ae12adc3b057eca70d5553c1f9098de # Parent 4f526dcb40db214140e9a797039ae79627256223 - Some weird staff with bounds commented here diff -r 4f526dcb40db -r eea0481d2ae1 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