Skip to content

Commit 033d12e

Browse files
committed
Fix bug with unwanted color in DrawLineModifier
See: #1347
1 parent 72f455b commit 033d12e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Drivers/Imagick/Modifiers/DrawLineModifier.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function apply(ImageInterface $image): ImageInterface
1919
{
2020
$drawing = new ImagickDraw();
2121
$drawing->setStrokeWidth($this->drawable->width());
22+
$drawing->setFillOpacity(0);
2223
$drawing->setStrokeColor(
2324
$this->driver()->colorProcessor($image->colorspace())->colorToNative(
2425
$this->backgroundColor()

0 commit comments

Comments
 (0)