Skip to content

Commit

Permalink
had height/width flipped! fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie committed Jul 10, 2014
1 parent cd7c36a commit 086489f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filter/Resize.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ public static function getFilterMask() {
public function filter($width, $height)
{
// Resize both the base image
$this->baseImage->resize($height, $width, function($constraint) {
$this->baseImage->resize($width, $height, function($constraint) {
$constraint->aspectRatio();
});
// .. and canvas
$c = $this->canvas->resize($height, $width, function($constraint) {
$c = $this->canvas->resize($width, $height, function($constraint) {
$constraint->aspectRatio();
});

Expand Down

0 comments on commit 086489f

Please sign in to comment.