mirror of
https://github.com/Intervention/image.git
synced 2025-08-11 08:24:02 +02:00
Fix bug
This commit is contained in:
@@ -14,6 +14,6 @@ class ResizeCanvasRelativeModifier extends ResizeCanvasModifier
|
|||||||
$height = is_null($this->height) ? $image->height() : $image->height() + $this->height;
|
$height = is_null($this->height) ? $image->height() : $image->height() + $this->height;
|
||||||
|
|
||||||
return (new Rectangle($width, $height))
|
return (new Rectangle($width, $height))
|
||||||
->alignPivotTo($image->size(), $this->position);
|
->alignPivotTo($image->size(), $this->position());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user