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:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user