Skip to content

Commit fbd44c3

Browse files
committed
pix css value
1 parent 40ec692 commit fbd44c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/screenshare.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ webrtcperf.setupFakeScreenshare = ({
3939
wrapper.setAttribute('id', 'webrtcperf-fake-screenshare')
4040
wrapper.setAttribute(
4141
'style',
42-
`position: fixed; top: 0; left: 0; width: ${width}; height: ${height}; z-index: -1; background-color: black; isolation: isolate; transform-style: flat;`,
42+
`position: fixed; top: 0; left: 0; width: ${width}px; height: ${height}px; z-index: -1; background-color: black; isolation: isolate; transform-style: flat;`,
4343
)
4444
document.body.appendChild(wrapper)
4545
window.GET_DISPLAY_MEDIA_CROP = '#webrtcperf-fake-screenshare'

0 commit comments

Comments
 (0)