From 2ee1fa1581db8fdbe0c9ba954c13cfda9d41a6c3 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 23 Feb 2020 16:49:09 -0500 Subject: #897 make sure scrub bar doesn't get too close to iphoneX home bar --- www/js/app.js | 1 + 1 file changed, 1 insertion(+) (limited to 'www/js/app.js') 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)"); -- cgit v1.2.3