mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Apply suggestions from code review
Co-Authored-By: Kiran Niranjan <kiranleo1992@gmail.com>
This commit is contained in:
parent
89af983755
commit
1262a31f4f
@ -527,7 +527,7 @@ export class WindowHandler {
|
||||
ipcMain.once('screen-source-selected', (_event, source) => {
|
||||
if (isWindowsOS) {
|
||||
const str = JSON.stringify(source);
|
||||
logger.info(`window-handler: screen-source-selected, source: ${str} id: ${id}!`);
|
||||
logger.info(`window-handler: screen-source-selected`, source, id);
|
||||
const type = source.id.split(':')[0];
|
||||
if (type === 'window') {
|
||||
const hwnd = source.id.split(':')[1];
|
||||
@ -732,7 +732,7 @@ export class WindowHandler {
|
||||
if (displayId === element.id.toString()) {
|
||||
if (isWindowsOS) {
|
||||
const str = JSON.stringify(element);
|
||||
logger.info(`window-handler: MG element: ${str}`);
|
||||
logger.info(`window-handler: MG element:`, element);
|
||||
const winX: string = element.bounds.x.toString();
|
||||
const winY: string = element.bounds.y.toString();
|
||||
this.execCmd(this.screenShareIndicatorFrameUtil, [ winX, winY ]);
|
||||
|
Loading…
Reference in New Issue
Block a user