From c4e0d3572bf64ff79a67a9d29859588c7a67372c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2023 13:01:46 +0200 Subject: [PATCH] wait #6365 @0:10 --- app/Models/QuizTheme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } /** -- 2.39.5