mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
01_FHEMWEB.pm: change the svg stroke as requested (Forum #120303)
git-svn-id: https://svn.fhem.de/fhem/trunk@24237 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
af9601652b
commit
85fe07c817
@ -2719,6 +2719,8 @@ FW_makeImage(@)
|
||||
$col = "#$col" if($col =~ m/^([A-F0-9]{6})$/);
|
||||
$data =~ s/fill="#000000"/fill="$col"/g;
|
||||
$data =~ s/fill:#000000/fill:$col/g;
|
||||
$data =~ s/stroke="#000000"/stroke="$col"/g; # 120303
|
||||
$data =~ s/stroke:#000000/stroke:$col/g;
|
||||
} else {
|
||||
$data =~ s/fill="#000000"//g;
|
||||
$data =~ s/fill:#000000//g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user