$this->addField('outroImageMobile', FluidbookThemeImage::class, __('Mobile'), ['hint' => __('Taille recommandée : :size', ['size' => '390 x 844px']), 'when' => ['outroCustom' => 1]]);
//$this->addField('', FormSeparator::class, '');
$this->addField('outroSuccessAnimation', Hidden::class, __('Animation de réussite'), ['hint' => __('390 x 390px')]);
- $this->addField('outroFailAnimation', Hidden::clKass, __('Animation d\'échec'), ['hint' => __('390 x 390px')]);
+ $this->addField('outroFailAnimation', Hidden::class, __('Animation d\'échec'), ['hint' => __('390 x 390px')]);
}
public function getTextsColor()
{
- if ($this->textsColor == 'auto' || !$this->textsColor) {
+ if ($this->textColor == 'auto' || !$this->textColor) {
// If auto mode, check between black and white which have the biggest distance (i.e. most contrast) with neutralColor
$neutral = new \Cubist\Util\Graphics\Color($this->neutralColor);
$black = new \Cubist\Util\Graphics\Color('#000000');
return '#000000';
}
}
- return $this->textsColor;
+ return $this->textColor;
}
/**