2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

49_SSCam: contrib 9.4.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22321 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-07-01 19:42:49 +00:00
parent 9cdbe3305f
commit b1b1c5f0e9

View File

@ -7369,7 +7369,7 @@ return $cap;
sub IsCapZoom { # PTZ Zoom Eigenschaft
my $hash = shift;
my $name = $hash->{NAME};
return 1;
my $cap = ReadingsVal($name, "CapPTZZoom", "false") ne "false" ? 1 : 0;
return $cap;
@ -7673,8 +7673,8 @@ sub ptzPanel {
my $iPath = FW_iconPath($img);
if($ftui) {
my $zbs = $pbsf+100;
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$zbs%\" width=\"$zbs%\">";
my $zbs = $pbsf*2;
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$zbs%\" width=\"$zbs%\">";
} else {
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$pbs%\" width=\"$pbs%\">";
}