Force set zoom to 1 and set limits to 1..1

This commit is contained in:
Johan Kwarnmark
2020-10-20 13:11:58 +02:00
parent a8023eef6f
commit aef2f0e9f3

View File

@@ -1029,6 +1029,8 @@ export class WindowHandler {
if (!this.screenSharingIndicatorWindow || !windowExists(this.screenSharingIndicatorWindow)) {
return;
}
this.screenSharingIndicatorWindow.webContents.setZoomFactor(1);
this.screenSharingIndicatorWindow.webContents.setVisualZoomLevelLimits(1, 1);
this.screenSharingIndicatorWindow.webContents.send('screen-sharing-indicator-data', { id, streamId });
});
const stopScreenSharing = (_event, indicatorId) => {