Merge branch 'ent-9870-barra-progreso-cola-de-politicas-queda-mal-en-modo-oscuro' into 'develop'
Ent 9870 barra progreso cola de politicas queda mal en modo oscuro See merge request artica/pandorafms!5760
This commit is contained in:
commit
5e598b3671
|
@ -344,7 +344,11 @@ function drawRating($rating, $width, $height, $font, $out_of_lim_str, $mode, $fo
|
|||
$image = imagecreate($width, $height);
|
||||
|
||||
// colors
|
||||
$back = imagecolorallocate($image, 241, 241, 241);
|
||||
if ($config['style'] === 'pandora_black') {
|
||||
$back = imagecolorallocate($image, 34, 34, 34);
|
||||
} else {
|
||||
$back = imagecolorallocate($image, 241, 241, 241);
|
||||
}
|
||||
|
||||
$bordercolor = imagecolorallocate($image, 241, 241, 241);
|
||||
$text = imagecolorallocate($image, 74, 74, 74);
|
||||
|
|
Loading…
Reference in New Issue