Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-11-09 13:34:41 +0300
committerGitHub <noreply@github.com>2022-11-09 13:34:41 +0300
commit66c1ca23200b83145729d0447a4a1ac6fefed802 (patch)
treef38766e112a0325cf5027c9b0d6c2468f6a52616
parent57f6a8015300109a85d2b02c296edb9b7c78d4f9 (diff)
parent267285ca1af425991765fadf8cb31a97c76cdc6f (diff)
Merge pull request #8317 from nextcloud/bugfix/8314/fix-high-dpi-stripe-layout
Fix bottom stripe of speaker view with high DPI
-rw-r--r--src/components/CallView/Grid/Grid.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/CallView/Grid/Grid.vue b/src/components/CallView/Grid/Grid.vue
index f0494b45b..8d61a6c20 100644
--- a/src/components/CallView/Grid/Grid.vue
+++ b/src/components/CallView/Grid/Grid.vue
@@ -351,6 +351,12 @@ export default {
},
dpiFactor() {
+ if (this.isStripe) {
+ // On the stripe we only ever want 1 row, so we ignore the DPR
+ // as the height of the grid is the height of the video elements then.
+ return 1.0
+ }
+
const devicePixelRatio = window.devicePixelRatio
// Some sanity check to not screw up the math.