Fix default colour validation for supervisor

This commit is contained in:
MarkBaker
2020-10-30 11:15:37 +01:00
parent 5179781ab9
commit 7b750e3bf5
+1 -1
View File
@@ -62,7 +62,7 @@ class Color extends Supervisor
// Initialise values
if (!$isConditional) {
$this->argb = $this->setARGB($colorValue);
$this->argb = $this->validateARGB($colorValue) ? $colorValue : self::COLOR_BLACK;
}
}