Como manter a janela infantil sempre no topo em elétrons js
const { remote } = require('electron');
stopScreenShareWin = new remote.BrowserWindow({
width: 400,
height: 40,
show:true,
alwaysOnTop:true,
frame: false,
titleBarStyle: 'hidden',
visibleOnAllWorkspaces:true ,
webPreferences: {
nodeIntegration: true
}
});
stopScreenShareWin.loadFile('calls/screenshare-overlay.html');
Dark Deer