fill color will change startColor and endColor (#90)

This commit is contained in:
Tony Brix 2017-02-10 06:03:17 -06:00 committed by Adrien Crivelli
parent 9e835676a6
commit 149f9e649b
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ class Fill extends Supervisor implements \PhpOffice\PhpSpreadsheet\IComparable
} }
if (isset($pStyles['color'])) { if (isset($pStyles['color'])) {
$this->getStartColor()->applyFromArray($pStyles['color']); $this->getStartColor()->applyFromArray($pStyles['color']);
$this->getEndColor()->applyFromArray($pStyles['color']);
} }
} }
} else { } else {