From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2023 11:01:46 +0000 (+0200) Subject: wait #6365 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c4e0d3572bf64ff79a67a9d29859588c7a67372c;p=fluidbook-toolbox.git wait #6365 @0:10 --- diff --git a/app/Models/QuizTheme.php b/app/Models/QuizTheme.php index 02ce2db9c..3cc2a3098 100644 --- a/app/Models/QuizTheme.php +++ b/app/Models/QuizTheme.php @@ -141,12 +141,12 @@ class QuizTheme extends ToolboxModel $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'); @@ -159,7 +159,7 @@ class QuizTheme extends ToolboxModel return '#000000'; } } - return $this->textsColor; + return $this->textColor; } /**