diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-06 19:10:54 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-06 19:10:54 -0400 |
| commit | 2eab17fcadb0dd0ff604f9536bc35ebfd7d5be76 (patch) | |
| tree | 8ddb1d2b5ad42a60d81a612c47e34d777b441629 /www/js | |
| parent | 32b40b96839cc4cac11eab00fa9b55482cee7457 (diff) | |
ignore pixelratio for video playback
Diffstat (limited to 'www/js')
| -rwxr-xr-x | www/js/app.js | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
