summaryrefslogtreecommitdiffstats
path: root/src/components/CallView
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/CallView')
-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.