From 1e3ea5e360ba8ff3bcaeb139c7234170631692b7 Mon Sep 17 00:00:00 2001 From: Kiran Niranjan Date: Fri, 10 May 2024 08:26:11 +0530 Subject: [PATCH] SDA-4563 - Ignore changing zoom if focused window is about Symphony (#2149) --- src/app/window-utils.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/app/window-utils.ts b/src/app/window-utils.ts index 47a4c61cc..9ad94d6fb 100644 --- a/src/app/window-utils.ts +++ b/src/app/window-utils.ts @@ -854,7 +854,10 @@ export const zoomIn = () => { return; } - if (focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony') { + if ( + focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony' || + focusedWindow.getTitle() === 'About Symphony' + ) { return; } @@ -949,7 +952,10 @@ export const zoomOut = () => { return; } - if (focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony') { + if ( + focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony' || + focusedWindow.getTitle() === 'About Symphony' + ) { return; }