1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 12:18:14 +01:00
This commit is contained in:
Oliver Vogel 2023-12-07 15:30:17 +01:00
parent a3d524fa7f
commit e0c69e07c1

View File

@ -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());
}
}