summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-02-23 16:49:09 -0500
committerPliable Pixels <pliablepixels@gmail.com>2020-02-23 16:49:09 -0500
commit2ee1fa1581db8fdbe0c9ba954c13cfda9d41a6c3 (patch)
tree4c42ea53f2e565c9cb5fff423fdf97d2ac086f6d /www/js/app.js
parent67de8d1520dc8f70977dc1e4e2775d71e58916e4 (diff)
#897 make sure scrub bar doesn't get too close to iphoneX home bar
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 73b50511..57f32aa2 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1471,6 +1471,7 @@ angular.module('zmApp', [
$rootScope.pixelRatio = pixelRatio;
$rootScope.devWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
$rootScope.devHeight = ((window.innerHeight > 0) ? window.innerHeight : screen.height);
+ $rootScope.videoHeight = $rootScope.devHeight - 20;
NVR.debug("resize/orient: " + $rootScope.devWidth + "(w) * " + $rootScope.devHeight+"(h)");