Skip to content

Commit

Permalink
Update FocusPointCropImage to handle control to owner
Browse files Browse the repository at this point in the history
  • Loading branch information
micschk authored Oct 25, 2016
1 parent 5eb8cb4 commit 0d6a5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/FocusPointCropImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function CroppedFocusedImage($width, $height, $upscale = true)
$cropped_img->FocusY = $img->FocusY * ($cropData->originalHeight / $img->height);
$cropped_img->CropData = null; // unset so we offset-crop only once
// and recurse
return $cropped_img; //->CroppedFocusedImage($width, $height, $upscale);
return $cropped_img->CroppedFocusedImage($width, $height, $upscale);
}

// delegate to FocusPointImage class
Expand Down

1 comment on commit 0d6a5e2

@micschk
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #1

Please sign in to comment.