diff --git a/src/Image/Image.php b/src/Image/Image.php index 1461d01..a51c1c5 100644 --- a/src/Image/Image.php +++ b/src/Image/Image.php @@ -106,6 +106,7 @@ public function crop(int $width, int $height, string $gravity = Image::GRAVITY_C case self::GRAVITY_TOP_LEFT: $x = 0; $y = 0; + break; case self::GRAVITY_TOP: $x = ($resizeWidth / 2) - ($width / 2); break;