Fix: Scaling

pull/3849/head
IgorA100 2024-03-04 17:22:32 +03:00 committed by GitHub
parent ea17631de9
commit f173974f2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -156,6 +156,7 @@ function setScale() {
if (scale == '0') {
$j(window).on('resize', endOfResize); //remove resize handler when Scale to Fit is not active
}
changeSize();
} // end function changeScale
function getStreamCmdResponse(respObj, respText) {
@ -938,8 +939,8 @@ function initPage() {
}
}, 10*1000);
}
changeSize();
changeObjectClass();
changeSize();
} // initPage
function watchFullscreen() {
@ -1028,7 +1029,7 @@ function cycleToggle(e) {
button.toggleClass('btn-secondary');
button.toggleClass('btn-primary');
changeObjectClass();
changeScale();
changeSize();
}
function ptzToggle(e) {