mirror of
https://github.com/Intervention/image.git
synced 2025-08-22 21:42:53 +02:00
Fix offset coordinates for CropModifier
This commit is contained in:
@@ -62,8 +62,8 @@ class CropModifier implements ModifierInterface
|
||||
$current,
|
||||
0,
|
||||
0,
|
||||
$resizeTo->getPivot()->getX(),
|
||||
$resizeTo->getPivot()->getY(),
|
||||
$resizeTo->getPivot()->getX() + $this->offset_x,
|
||||
$resizeTo->getPivot()->getY() + $this->offset_y,
|
||||
$resizeTo->getWidth(),
|
||||
$resizeTo->getHeight(),
|
||||
$resizeTo->getWidth(),
|
||||
|
Reference in New Issue
Block a user