Adjust colour validation calls

This commit is contained in:
MarkBaker
2020-11-01 12:12:28 +01:00
parent 613a0b96ae
commit 414c5217b8
+1 -1
View File
@@ -63,7 +63,7 @@ class Color extends Supervisor
// Initialise values
if (!$isConditional) {
$this->argb = $this->validateColour($colorValue) ? $colorValue : self::COLOR_BLACK;
$this->argb = $this->validateColour($colorValue, self::VALIDATE_ARGB_SIZE) ? $colorValue : self::COLOR_BLACK;
}
}