Adjust colour validation calls
This commit is contained in:
parent
613a0b96ae
commit
414c5217b8
|
|
@ -63,7 +63,7 @@ class Color extends Supervisor
|
||||||
|
|
||||||
// Initialise values
|
// Initialise values
|
||||||
if (!$isConditional) {
|
if (!$isConditional) {
|
||||||
$this->argb = $this->validateColour($colorValue) ? $colorValue : self::COLOR_BLACK;
|
$this->argb = $this->validateColour($colorValue, self::VALIDATE_ARGB_SIZE) ? $colorValue : self::COLOR_BLACK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue