2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

55_InfoPanel.pm: remove smartmatch issues

git-svn-id: https://svn.fhem.de/fhem/trunk@28758 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2024-04-05 12:07:59 +00:00
parent 33b1c7a7f2
commit c1f4aeef83

View File

@ -1059,7 +1059,7 @@ sub btIP_evalLayout {
$params{xx} = $x;
$params{yy} = $y;
$svg .= btIP_itemDate($id,$x,$y,%params);
} "ellipse") {
} elsif ($cmd eq "ellipse") {
($id,$x1,$y1,$rx,$ry,$filled,$stroked,$link)= split("[ \t]+", $def, 8);
($x1,$y1) = btIP_xy($x1,$y1,%params);
($rx,$ry) = btIP_xy($rx,$ry,%params);
@ -1070,7 +1070,7 @@ sub btIP_evalLayout {
$link //= "";
$link = AnalyzePerlCommand(undef,$link);
$svg .= btIP_itemEllipse($id,$x1,$y1,$rx,$ry,$filled,$stroked,$link,%params);
} "embed") {
} elsif ($cmd eq "embed") {
($id,$x,$y,$width,$height,$arg)= split("[ \t]+", $def, 6);
($x,$y)= btIP_xy($x,$y,%params);
($width,$height)= btIP_xy($width,$height,%params);