We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40ec692 commit fbd44c3Copy full SHA for fbd44c3
scripts/screenshare.js
@@ -39,7 +39,7 @@ webrtcperf.setupFakeScreenshare = ({
39
wrapper.setAttribute('id', 'webrtcperf-fake-screenshare')
40
wrapper.setAttribute(
41
'style',
42
- `position: fixed; top: 0; left: 0; width: ${width}; height: ${height}; z-index: -1; background-color: black; isolation: isolate; transform-style: flat;`,
+ `position: fixed; top: 0; left: 0; width: ${width}px; height: ${height}px; z-index: -1; background-color: black; isolation: isolate; transform-style: flat;`,
43
)
44
document.body.appendChild(wrapper)
45
window.GET_DISPLAY_MEDIA_CROP = '#webrtcperf-fake-screenshare'
0 commit comments