Fix default colour validation for supervisor
This commit is contained in:
parent
5179781ab9
commit
7b750e3bf5
|
|
@ -62,7 +62,7 @@ class Color extends Supervisor
|
||||||
|
|
||||||
// Initialise values
|
// Initialise values
|
||||||
if (!$isConditional) {
|
if (!$isConditional) {
|
||||||
$this->argb = $this->setARGB($colorValue);
|
$this->argb = $this->validateARGB($colorValue) ? $colorValue : self::COLOR_BLACK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue