mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_SVG.pm: change first text if zoom is in week range (Forum #119478)
git-svn-id: https://svn.fhem.de/fhem/trunk@23936 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
811cc258e8
commit
2c50e90f53
@ -1731,7 +1731,7 @@ SVG_render($$$$$$$$$$)
|
||||
}
|
||||
|
||||
} else { # times
|
||||
$initoffset = int(($step/2)/86400)*86400 if($aligntext == 1);
|
||||
$initoffset = 86400 if($aligntext == 1);
|
||||
for(my $i = $fromsec+$initoffset; $i < $tosec; $i += $step) {
|
||||
$i = SVG_time_align($i,$aligntext);
|
||||
$off1 = int($x+($i-$fromsec)*$tmul);
|
||||
|
Loading…
x
Reference in New Issue
Block a user