change scale to fit value from auto to 0
This commit is contained in:
parent
8c7d2c5e1a
commit
a7c28be365
|
@ -33,7 +33,7 @@ function changeScale() {
|
|||
var scale = $('scale').get('value');
|
||||
var newWidth;
|
||||
var newHeight;
|
||||
if (scale == "auto") {
|
||||
if (scale == "0") {
|
||||
var newSize = scaleToFit(monitorWidth, monitorHeight, $j('#liveStream'+monitorId), $j('#replayStatus'));
|
||||
newWidth = newSize.width;
|
||||
newHeight = newSize.height;
|
||||
|
|
Loading…
Reference in New Issue