summaryrefslogtreecommitdiff
path: root/www/js/NVR.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-04-29 13:49:13 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-04-29 13:49:13 -0400
commit57b985bbf84ccc396c0af497ab579488f5b887bd (patch)
treebeb0c4a011496d840c7b22129055600de070b06d /www/js/NVR.js
parentfd28009994068f424bce383c79ed46ac9434ab79 (diff)
#930 #931 - you can now reduce resize factor to fractions in dev options, reflow based on columns specified
Diffstat (limited to 'www/js/NVR.js')
-rw-r--r--www/js/NVR.js15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 61645de2..bdeadece 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -199,7 +199,7 @@ angular.module('zmApp.controllers')
'disableSimulStreaming': false,
'insertBasicAuthToken': false,
'loginAPISupported': false,
- 'montageResizeSteps': 5,
+ 'montageResizeSteps': 0.2,
'currentServerVersion': '',
'saveToCloud': true,
'montageReviewCollapse': true,
@@ -220,7 +220,8 @@ angular.module('zmApp.controllers')
'liveStreamBuffer': 10,
'zmNinjaCustomId':undefined, // filled in init. custom header
'obfuscationScheme': 'lzs', // or 'aes'
- 'showAnimation': true
+ 'showAnimation': true,
+ 'montageHideFooter': false,
};
@@ -1051,7 +1052,7 @@ angular.module('zmApp.controllers')
loginData = angular.copy(newLogin);
- // console.log ('****** SET LOGIN:'+JSON.stringify(loginData));
+ //console.log ('****** SET LOGIN:'+JSON.stringify(loginData));
$rootScope.LoginData = loginData;
serverGroupList[loginData.serverName] = angular.copy(loginData);
@@ -1527,7 +1528,7 @@ angular.module('zmApp.controllers')
if (typeof loginData.montageResizeSteps == 'undefined') {
- loginData.montageResizeSteps = 5;
+ loginData.montageResizeSteps = 0.2;
}
@@ -1630,6 +1631,12 @@ angular.module('zmApp.controllers')
loginData.showAnimation = true;
}
+ if (typeof loginData.montageHideFooter == 'undefined') {
+ loginData.montageHideFooter = false;
+ }
+
+
+
loginData.canSwipeMonitors = true;
loginData.forceImageModePath = false;
loginData.enableBlog = true;