2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 22:26:04 +00:00

98_DOIF.pm: fixed: svg ring color section

git-svn-id: https://svn.fhem.de/fhem/trunk@24049 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2021-03-21 21:23:14 +00:00
parent 993f78ef86
commit 1e9e951825

View File

@ -4775,7 +4775,7 @@ sub ring
$maxColor=&{$func}($max);
$currColor=&{$func}($value);
} elsif (ref($func) eq "ARRAY") {
$minColor=${$func}[0];
$minColor=${$func}[1];
$maxColor=${$func}[-1];
for (my $i=0;$i<@{$func};$i+=2) {
if ($value <= ${$func}[$i]) {