mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
if screen sharing indicator, don't zoom
This commit is contained in:
@@ -1263,6 +1263,11 @@ export class WindowHandler {
|
||||
if (!focusedWindow || !windowExists(focusedWindow)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony') {
|
||||
return;
|
||||
}
|
||||
|
||||
// electron/lib/browser/api/menu-item-roles.js row 159
|
||||
const currentZoomLevel = focusedWindow.webContents.getZoomLevel();
|
||||
focusedWindow.webContents.setZoomLevel(currentZoomLevel + 0.5);
|
||||
|
||||
Reference in New Issue
Block a user