From 2eab17fcadb0dd0ff604f9536bc35ebfd7d5be76 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 6 Sep 2020 19:10:54 -0400 Subject: ignore pixelratio for video playback --- www/js/app.js | 1 + www/templates/events-modal.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/js/app.js b/www/js/app.js index f85a5571..81977def 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1480,6 +1480,7 @@ angular.module('zmApp', [ $rootScope.devWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width); $rootScope.devHeight = ((window.innerHeight > 0) ? window.innerHeight : screen.height); $rootScope.videoHeight = $rootScope.devHeight - 20; + $rootScope.devWidthIgnorePix = $rootScope.devWidth; $rootScope.devWidth *= pixelRatio; $rootScope.devHeight *= pixelRatio; diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index d4f23bbb..36771e55 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -76,7 +76,7 @@ -
+