From dd0fd2f039deeebfb66b88657635cbc2749c098b Mon Sep 17 00:00:00 2001 From: Damian <> Date: Wed, 16 Jun 2021 07:26:15 +0000 Subject: [PATCH] 98_DOIF.pm: card ring2 decfont2 fixed git-svn-id: https://svn.fhem.de/fhem/trunk@24643 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_DOIF.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/98_DOIF.pm b/fhem/FHEM/98_DOIF.pm index 90953907c..641d7b877 100644 --- a/fhem/FHEM/98_DOIF.pm +++ b/fhem/FHEM/98_DOIF.pm @@ -5064,9 +5064,9 @@ sub card my $unitColor=(split(",",${$unit_a}[0]))[1]; my $unitColor2=(split(",",${$unit_a}[1]))[1]; $decfont="" if (!defined $decfont); - $decfont2="" if (!defined $decfont2); + ##$decfont2="" if (!defined $decfont2); $out.= ui_Table::ring2(${$col}[0]{value},$min,$max,$minColor,$maxColor,ref ($unit_a) eq "ARRAY" ? (split(",",${$unit_a}[0]))[0]:$unit,92,$func,defined $unitColor ? $decfont.",,fill:".$unitColor:$decfont, - ${$col}[1]{value},$min,$max,$minColor,$maxColor,ref ($unit_a) eq "ARRAY" ? (split(",",${$unit_a}[1]))[0]:$unit,$func,defined $unitColor2 ? $decfont2.",,fill:".$unitColor2:$decfont2,$lightness,undef,(defined $header or !defined $icon) ? undef: $icon); + ${$col}[1]{value},$min,$max,$minColor,$maxColor,ref ($unit_a) eq "ARRAY" ? (split(",",${$unit_a}[1]))[0]:$unit,$func,defined $unitColor2 ? $decfont.",,fill:".$unitColor2:$decfont,$lightness,undef,(defined $header or !defined $icon) ? undef: $icon); } else { $out.= ui_Table::ring(${$collect}{value},$min,$max,$minColor,$maxColor,$unit,92,$func,$decfont,$model,$lightness,undef,(defined $header or !defined $icon) ? undef: $icon); }