mirror of
https://github.com/Intervention/image.git
synced 2025-03-15 22:49:40 +01:00
Fix bug in ResizeCanvasModifier::class
This commit is contained in:
parent
21cb93dcc6
commit
1786ad5e17
@ -34,7 +34,7 @@ class ResizeCanvasModifier extends GenericResizeCanvasModifier implements Specia
|
||||
$draw->setFillColor($background);
|
||||
|
||||
$delta_width = abs($resize->pivot()->x());
|
||||
$delta_height = abs($resize->pivot()->y());
|
||||
$delta_height = $resize->pivot()->y() * -1;
|
||||
|
||||
if ($delta_width > 0) {
|
||||
$draw->rectangle(
|
||||
|
Loading…
x
Reference in New Issue
Block a user