Skip to content

Commit

Permalink
fix line width
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Nezbritskiy committed Aug 1, 2017
1 parent 2f152df commit 00e6c61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AbstractElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ private function ensureLineStyle($style)
if (isset($style['line_color'])) {
$result->setLineColor($this->rgbArrayToColor($style['line_color']));
}
if (isset($style['width'])) {
$result->setLineWidth($style['width']);
if (isset($style['line_width'])) {
$result->setLineWidth($style['line_width']);
}
return $result;
}
Expand Down

0 comments on commit 00e6c61

Please sign in to comment.