зеркало из https://github.com/nextcloud/spreed.git
Fix bottom stripe of speaker view with high DPI
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
57f6a80153
Коммит
267285ca1a
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче