Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 022781e

Browse files
committed
Added a comment about updating thumbnails
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 28ff4e6 commit 022781e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/views/elements/DesktopCapturerSourcePicker.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default class DesktopCapturerSourcePicker extends React.Component<
8585
}
8686

8787
componentDidMount() {
88+
// We update the sources every 500ms to get newer thumbnails
8889
this.interval = setInterval(async () => {
8990
this.setState({
9091
sources: await getDesktopCapturerSources(),

0 commit comments

Comments
 (0)