Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

shaddup

  • Loading branch information...
commit 2ba43a8288fc0a2897f4584e59bed857e1d29a3c 1 parent 7933cb7
Geoff Norton authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  Player2/Classes/PluginFlashView.m
View
3  Player2/Classes/PluginFlashView.m
@@ -276,10 +276,8 @@ - (UIImage *)scaleImage:(UIImage *) image maxWidth:(float) maxWidth maxHeight:(f
CGFloat width = CGImageGetWidth(imgRef);
CGFloat height = CGImageGetHeight(imgRef);
-NSLog (@"SCALE: %fx%f CAP: %fx%f", width, height, maxWidth, maxHeight);
if (width <= maxWidth && height <= maxHeight)
{
-NSLog (@"SCALE: bail");
return image;
}
@@ -290,7 +288,6 @@ - (UIImage *)scaleImage:(UIImage *) image maxWidth:(float) maxWidth maxHeight:(f
{
CGFloat ratio = width/height;
-NSLog (@"SCALE: ratio: %f", ratio);
if (ratio > 1)
{
bounds.size.width = maxWidth;
Please sign in to comment.
Something went wrong with that request. Please try again.