diff options
author | Joas Schilling <coding@schilljs.com> | 2022-11-09 07:15:36 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-11-09 07:15:36 +0100 |
commit | 267285ca1af425991765fadf8cb31a97c76cdc6f (patch) | |
tree | f38766e112a0325cf5027c9b0d6c2468f6a52616 /src/components/CallView | |
parent | 57f6a8015300109a85d2b02c296edb9b7c78d4f9 (diff) |
Fix bottom stripe of speaker view with high DPI
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/CallView')
-rw-r--r-- | src/components/CallView/Grid/Grid.vue | 6 |
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. |