mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 17:19:50 +02:00
Fix bug
This commit is contained in:
@@ -126,6 +126,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
|
||||
?ImagickDraw $draw = null,
|
||||
Point $offset = new Point(),
|
||||
): void {
|
||||
if ($draw !== null) {
|
||||
$frame->native()->annotateImage(
|
||||
$draw,
|
||||
$textline->position()->x() + $offset->x(),
|
||||
@@ -134,6 +135,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
|
||||
(string) $textline
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return imagick font processor
|
||||
|
Reference in New Issue
Block a user