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