Skip to content

Commit fd6f9db

Browse files
ssddanbrownbsweeney
authored andcommitted
Fixed rect reference length for height
1 parent 0d978c8 commit fd6f9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Svg/Tag/Rect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function start($attributes)
3535
$this->width = $this->convertSize($attributes['width'], $width);
3636
}
3737
if (isset($attributes['height'])) {
38-
$this->height = $this->convertSize($attributes['height'], $width);
38+
$this->height = $this->convertSize($attributes['height'], $height);
3939
}
4040

4141
if (isset($attributes['rx'])) {

0 commit comments

Comments
 (0)