change scale to fit value from auto to 0

This commit is contained in:
Isaac Connor 2020-02-25 12:14:34 -05:00
parent 8c7d2c5e1a
commit a7c28be365
1 changed files with 1 additions and 1 deletions

View File

@ -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;