mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_DOIF.pm: icon position fixed in svg bar functions
git-svn-id: https://svn.fhem.de/fhem/trunk@24016 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bb27dc5fae
commit
f652db485c
@ -4392,9 +4392,9 @@ sub bar
|
||||
if (defined ($icon)) {
|
||||
($ic,$iscale,$ix,$iy,$rotate)=split(",",$icon);
|
||||
if (defined ($ix)) {
|
||||
$ix+=$bwidth/2+5;
|
||||
$ix+=$bwidth/2+3;
|
||||
} else {
|
||||
$ix=$bwidth/2+5;
|
||||
$ix=$bwidth/2+3;
|
||||
};
|
||||
if (defined ($iy)) {
|
||||
$iy+=$ypos;
|
||||
|
Loading…
x
Reference in New Issue
Block a user