mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +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:
parent
9cdbe3305f
commit
b1b1c5f0e9
@ -7369,7 +7369,7 @@ return $cap;
|
|||||||
sub IsCapZoom { # PTZ Zoom Eigenschaft
|
sub IsCapZoom { # PTZ Zoom Eigenschaft
|
||||||
my $hash = shift;
|
my $hash = shift;
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
return 1;
|
|
||||||
my $cap = ReadingsVal($name, "CapPTZZoom", "false") ne "false" ? 1 : 0;
|
my $cap = ReadingsVal($name, "CapPTZZoom", "false") ne "false" ? 1 : 0;
|
||||||
|
|
||||||
return $cap;
|
return $cap;
|
||||||
@ -7673,8 +7673,8 @@ sub ptzPanel {
|
|||||||
my $iPath = FW_iconPath($img);
|
my $iPath = FW_iconPath($img);
|
||||||
|
|
||||||
if($ftui) {
|
if($ftui) {
|
||||||
my $zbs = $pbsf+100;
|
my $zbs = $pbsf*2;
|
||||||
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$zbs%\" width=\"$zbs%\">";
|
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$zbs%\" width=\"$zbs%\">";
|
||||||
} else {
|
} else {
|
||||||
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$pbs%\" width=\"$pbs%\">";
|
$img = "<img src=\"$FW_ME/$FW_icondir/$iPath\" height=\"$pbs%\" width=\"$pbs%\">";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user